Parent

Class/Module Index [+]

Quicksearch

Regexp

Public Class Methods

json_create(object) click to toggle source
# File lib/json/add/core.rb, line 137
def self.json_create(object)
  new(object['s'], object['o'])
end

Public Instance Methods

to_json(*) click to toggle source
# File lib/json/add/core.rb, line 141
def to_json(*)
  {
    JSON.create_id => self.class.name,
    'o' => options,
    's' => source,
  }.to_json
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.