Module: JSONPathGrammar::Path0

Defined in:
lib/jsonpath/parser.rb

Instance Method Summary collapse

Instance Method Details

#rootObject



9
10
11
# File 'lib/jsonpath/parser.rb', line 9

def root
  elements[0]
end

#selectorsObject



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

def selectors
  elements[1]
end