Class: CommandArray
- Inherits:
-
Array
- Object
- Array
- CommandArray
- Defined in:
- lib/commandarray.rb
Overview
require_relative ‘./command.rb’
Direct Known Subclasses
Add, Build, Commit, Publish, Pull, Push, Setup, TearDown, Test, Upgrade, Verify
Instance Method Summary collapse
-
#add(command) ⇒ Object
def update end.
Instance Method Details
#add(command) ⇒ Object
def update end
8 9 10 |
# File 'lib/commandarray.rb', line 8 def add command self << command if(!include?(command)) end |