Sha256: 456a00943819d4b3c07ba1adc37bb2546183c37aa74e6cb7be7b2be6cbfc4fb2

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

class JsonPath
  class Wrapper
    attr_accessor :object

    def initialize(object)
      @object = object
    end
    
    def path(expression)
      @expression = Expression.new(expression, @object)
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jsonpath-0.0.3 lib/jsonpath/wrapper.rb
jsonpath-0.0.2 lib/jsonpath/wrapper.rb
jsonpath-0.0.1 lib/jsonpath/wrapper.rb