Module: GL::Chain::ClassMethods

Defined in:
lib/gl/command/chain.rb

Instance Method Summary collapse

Instance Method Details

#chain(command) ⇒ Object



14
15
16
# File 'lib/gl/command/chain.rb', line 14

def chain(command)
  @commands << command
end

#commandsObject



18
19
20
# File 'lib/gl/command/chain.rb', line 18

def commands
  @commands
end