Class: Rejson::Path
- Inherits:
-
Object
- Object
- Rejson::Path
- Defined in:
- lib/rejson/path.rb
Overview
Represents a Path in JSON value
Instance Attribute Summary collapse
-
#str_path ⇒ Object
Returns the value of attribute str_path.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path) ⇒ Path
constructor
A new instance of Path.
Constructor Details
#initialize(path) ⇒ Path
Returns a new instance of Path.
13 14 15 |
# File 'lib/rejson/path.rb', line 13 def initialize(path) @str_path = path end |
Instance Attribute Details
#str_path ⇒ Object
Returns the value of attribute str_path.
6 7 8 |
# File 'lib/rejson/path.rb', line 6 def str_path @str_path end |