class V8::Object

Public Instance Methods

to_hash() click to toggle source
# File lib/lunr/Javascript.rb, line 15
def to_hash
  JSON.parse(to_json, :max_nesting => false)
end
to_json() click to toggle source
# File lib/lunr/Javascript.rb, line 11
def to_json
  @context['JSON']['stringify'].call(self)
end