module Tryruby::NextFix
evals 'next' as 'self.next' instead of keyword
Public Instance Methods
loop_eval(str)
click to toggle source
Calls superclass method
# File lib/tryruby/next_fix.rb, line 4 def loop_eval(str) str = 'self.' + str if str == 'next' super(str) end