module Dramaturg::Command::AsCollection
Public Instance Methods
<<(v)
click to toggle source
# File lib/dramaturg/command/as_collection.rb, line 23 def <<(v) @values << v end
[](i)
click to toggle source
# File lib/dramaturg/command/as_collection.rb, line 10 def [](i) run unless ran? if self.respond_to? i self.send i else @outputs[i].for_prompt end end
[]=(i,v)
click to toggle source
# File lib/dramaturg/command/as_collection.rb, line 19 def []=(i,v) @outputs[i] = v end
each(&b)
click to toggle source
# File lib/dramaturg/command/as_collection.rb, line 6 def each &b @values.each &b end
output()
click to toggle source
# File lib/dramaturg/command/as_collection.rb, line 27 def output @outputs[:output] end