# File lib/unified_ruby.rb, line 218 def rewrite_defs(exp) receiver = exp.delete_at 1 # TODO: I think this would be better as rewrite_scope, but that breaks others exp = s(exp.shift, exp.shift, s(:scope, s(:block, exp.scope.args))) if exp.scope && exp.scope.args result = rewrite_defn(exp) result.insert 1, receiver result end