Class: Shape
Constant Summary collapse
- REP =
'$'
Instance Method Summary collapse
Methods inherited from Op
#apply_monad_deep, #integer_args, #numeric_literal?, #to_numeric
Instance Method Details
#run(ary, interpreter) ⇒ Object
188 189 190 191 192 |
# File 'lib/jop.rb', line 188 def run ary, interpreter ranges = integer_args(interpreter) interpreter.advance(ranges.length) fill_matrix(ranges, ary.cycle.each) end |