Parent

Files

Class

Extends any Class to include json_creatable? method.

Public Instance Methods

json_creatable?() click to toggle source

Returns true if this class can be used to create an instance from a serialised JSON string. The class has to implement a class method json_create that expects a hash as first parameter. The hash should include the required data.

     # File lib/json/common.rb, line 477
477:   def json_creatable?
478:     respond_to?(:json_create)
479:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.