Module: JSONPathGrammar::Path0

Defined in:
lib/jsonpath/parser.rb

Instance Method Summary collapse

Instance Method Details

#rootObject



12
13
14
# File 'lib/jsonpath/parser.rb', line 12

def root
  elements[0]
end

#selectorsObject



16
17
18
# File 'lib/jsonpath/parser.rb', line 16

def selectors
  elements[1]
end