Sha256: a2b24871efc471014cfd875e710eaf1dc1b3dd4a28e8076b34beac532d4453f5
Contents?: true
Size: 465 Bytes
Versions: 22
Compression:
Stored size: 465 Bytes
Contents
class V8::Conversion module Method include V8::Conversion::Code def to_v8 template = @@method_cache[self] ||= to_template template.GetFunction() end class MethodCache def initialize @map = V8::Weak::WeakValueMap.new end def [](method) @map[method.to_s] end def []=(method, template) @map[method.to_s] = template end end @@method_cache = MethodCache.new end end
Version data entries
22 entries across 22 versions & 8 rubygems