Class: LSL::Command::Compound

Inherits:
Object
  • Object
show all
Includes:
FromHash
Defined in:
lib/lsl/command/compound.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#output_filenameObject

Returns the value of attribute output_filename.



5
6
7
# File 'lib/lsl/command/compound.rb', line 5

def output_filename
  @output_filename
end

Instance Method Details

#each_commandObject



7
8
9
10
11
12
13
# File 'lib/lsl/command/compound.rb', line 7

def each_command
  args = []
  commands.each do |c|
    args = yield(c,args)
  end
  args
end