Class: V8::Portal::Interceptors::IndexedPropertySetter

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(index, value, info) ⇒ Object



117
118
119
120
121
# File 'lib/v8/portal/interceptors.rb', line 117

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