Parent

Files

Range

Public Class Methods

json_create(object) click to toggle source
    # File lib/json/add/core.rb, line 93
93:   def self.json_create(object)
94:     new(*object['a'])
95:   end

Public Instance Methods

to_json(*args) click to toggle source
     # File lib/json/add/core.rb, line 97
 97:   def to_json(*args)
 98:     {
 99:       JSON.create_id   => self.class.name,
100:       'a'         => [ first, last, exclude_end? ]
101:     }.to_json(*args)
102:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.