class Fuby::Intercept
Public Class Methods
new(intercepted, &intercept)
click to toggle source
# File lib/fuby/intercept.rb, line 18 def initialize intercepted, &intercept @intercept = intercept.bind intercepted end
Public Instance Methods
method_missing(*sig, &blk)
click to toggle source
# File lib/fuby/intercept.rb, line 22 def method_missing *sig, &blk @intercept.call *sig, &blk end