Class: V8::Conversion::Set

Inherits:
Object
  • Object
show all
Extended by:
Accessor
Defined in:
lib/v8/conversion/class.rb

Class Method Summary collapse

Methods included from Accessor

intercept

Methods included from Error::Protect

#protect

Class Method Details

.call(property, value, info) ⇒ Object



95
96
97
98
99
# File 'lib/v8/conversion/class.rb', line 95

def self.call(property, value, info)
  intercept(info, property) do |context, access, object, key, dontintercept|
    access.set(object, key, context.to_ruby(value), &dontintercept)
  end
end