Class: CommandArray

Inherits:
Array
  • Object
show all
Defined in:
lib/commandarray.rb

Direct Known Subclasses

Add, Build, Commit, Publish, Pull, Push, Setup, TearDown, Test, Upgrade, Verify

Instance Method Summary collapse

Instance Method Details

#add(command) ⇒ Object



2
3
4
# File 'lib/commandarray.rb', line 2

def add command
  self << command if(!include?(command))
end