class Hjson::Parser
Public Class Methods
new(source, **options)
click to toggle source
# File lib/hjson/parser.rb, line 8 def initialize(source, **options) @source = source @buffer = StringScanner.new(source) @options = options end
Private Instance Methods
node(*args)
click to toggle source
Calls superclass method
Hjson::AST::Node#node
# File lib/hjson/parser.rb, line 16 def node(*args) args.push(**@options) super(*args) end