class Rejson::Path

Represents a Path in JSON value

Attributes

str_path[RW]

Public Class Methods

new(path) click to toggle source
# File lib/rejson/path.rb, line 13
def initialize(path)
  @str_path = path
end
root_path() click to toggle source
# File lib/rejson/path.rb, line 8
def self.root_path
  root = Path.new(".")
  root
end