module Dotpath::Extension

Public Instance Methods

collect_with_json_path(&block) click to toggle source
# File lib/dotpath/extension.rb, line 9
def collect_with_json_path(&block)
  Dotpath::Mutate.mutate(self, &block)
end
each_with_json_path(&block) click to toggle source
# File lib/dotpath/extension.rb, line 5
def each_with_json_path(&block)
  Dotpath::Walk.walk(self, &block)
end
value_at_path(json_path) click to toggle source
# File lib/dotpath/extension.rb, line 13
def value_at_path(json_path)
  Dotpath.value_at_path(self, json_path)
end