Class
Constants
No documentation available
Class Methods
ext/json/lib/json/ext.rb
View on GitHub
# File tmp/rubies/ruby-master/ext/json/lib/json/ext.rb, line 17
def initialize(source, opts = nil)
@source = source
@config = Config.new(opts)
end
No documentation available
::
ext/json/lib/json/ext.rb
View on GitHub
# File tmp/rubies/ruby-master/ext/json/lib/json/ext.rb, line 11
def parse(...)
new(...).parse
end
No documentation available
Instance Methods
#
ext/json/lib/json/ext.rb
View on GitHub
# File tmp/rubies/ruby-master/ext/json/lib/json/ext.rb, line 26
def parse
@config.parse(@source)
end
No documentation available
#
ext/json/lib/json/ext.rb
View on GitHub
# File tmp/rubies/ruby-master/ext/json/lib/json/ext.rb, line 22
def source
@source.dup
end
No documentation available