diff options
-rw-r--r-- | lib/forwardable.rb | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -202,7 +202,9 @@ module Forwardable else iseq.to_a.dig(-1, 1, 1, :mid) == method.to_sym end - method = "__send__ :#{method}," end line_no = __LINE__+1; str = "#{<<-"begin;"}\n#{<<-"end;"}" @@ -211,7 +213,7 @@ module Forwardable def #{ali}(*args, &block) begin #{accessor} - end.#{method} *args, &block end end end; |