Class: CommandArray

Inherits:
Array
  • Object
show all
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

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