class Souffle::Node::RunList
A specialized Array that handles runlist items appropriately.
Public Instance Methods
<<(item)
click to toggle source
Pushes another runlist item onto the runlist array.
@param [ String ] item The runlist item as a string.
Calls superclass method
# File lib/souffle/node/runlist.rb, line 9 def <<(item) item = Souffle::Node::RunListItem.new(item) super(item) end
push(item)
click to toggle source
Pushes another item onto the runlist array.
@param [ String ] item The runlist item as a string.
Calls superclass method
# File lib/souffle/node/runlist.rb, line 17 def push(item) item = Souffle::Node::RunListItem.new(item) super(item) end
to_hash()
click to toggle source
Returns the description of a run_list in hash format.
@return [ Hash ] The description of a run_list in hash format.
# File lib/souffle/node/runlist.rb, line 25 def to_hash map.each { |item| item.to_s } end