class LSL::CommandExecution::Args::ArrayWithBlanks
Public Instance Methods
<<(x)
click to toggle source
# File lib/lsl/command/args.rb, line 15 def <<(x) i = blank_spots.shift || list.length list[i] = x end
add_list(l)
click to toggle source
# File lib/lsl/command/args.rb, line 19 def add_list(l) blank_spots! l.each { |x| self << x } end
each(&b)
click to toggle source
# File lib/lsl/command/args.rb, line 7 def each(&b); list.each(&b); end