Class: V8::Portal::Interceptors::NamedPropertySetter

Inherits:
Interceptor show all
Defined in:
lib/v8/portal/interceptors.rb

Instance Method Summary collapse

Methods inherited from Interceptor

#initialize, #intercept

Constructor Details

This class inherits a constructor from V8::Portal::Interceptors::Interceptor

Instance Method Details

#call(property, value, info) ⇒ Object



75
76
77
78
79
# File 'lib/v8/portal/interceptors.rb', line 75

def call(property, value, info)
  intercept(info, value) do |obj, dontintercept|
    @access.set(obj, @to.rb(property), @to.rb(value), &dontintercept)
  end
end