Sha256: 46950ec0d8f99ed4fb5ea7c12d15dcbcbee039fcc03cb4acea1857438545cd9b
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true module Dotpath module Extension def each_with_json_path(&block) Dotpath::Walk.walk(self, &block) end def collect_with_json_path(&block) Dotpath::Mutate.mutate(self, &block) end def value_at_path(json_path) Dotpath.value_at_path(self, json_path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dotpath-0.1.0 | lib/dotpath/extension.rb |