Module: V8::Conversion::Method
Defined Under Namespace
Classes: MethodCache
Constant Summary collapse
- @@method_cache =
MethodCache.new
Instance Method Summary collapse
Methods included from Code
Methods included from Weak::Cell
Instance Method Details
#to_v8 ⇒ Object
5 6 7 8 |
# File 'lib/v8/conversion/method.rb', line 5 def to_v8 template = @@method_cache[self] ||= to_template template.GetFunction() end |