Class: Tail
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
218 219 220 |
# File 'lib/jop.rb', line 218 def run ary, interpreter ary.drop(ary.count-1) end |