Class: Curtail
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
43 44 45 |
# File 'lib/jop.rb', line 43 def run ary, interpreter ary.take(ary.count-1) end |