Sha256: 1ec611f8d6f05563721ae50d99e7ad4f55e2fb394231aef814389ad59c39a0b0
Contents?: true
Size: 332 Bytes
Versions: 4
Compression:
Stored size: 332 Bytes
Contents
#require_relative './command.rb' class CommandArray < Array #def update #end def add command self << command if(!include?(command)) end # def execute # i=0 # while i < self.length # self[i]=Command.new(self[i]) if(self[i].is_a?(String)) # self[i].execute # i=i+1 # end # end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dev_tasks-1.0.34 | lib/commandarray.rb |
dev_tasks-1.0.33 | lib/commandarray.rb |
dev_tasks-1.0.31 | lib/commandarray.rb |
dev_tasks-1.0.30 | lib/commandarray.rb |