# File lib/json/add/core.rb, line 110 110: def to_json(*args) 111: klass = self.class.name 112: klass.to_s.empty? and raise JSON::JSONError, "Only named structs are supported!" 113: { 114: JSON.create_id => klass, 115: 'v' => values, 116: }.to_json(*args) 117: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.