Class: SugoiPrettyJSON::ParsedMember
- Inherits:
-
Object
- Object
- SugoiPrettyJSON::ParsedMember
- Defined in:
- lib/sugoi_pretty_json.rb
Instance Attribute Summary collapse
-
#json_key ⇒ Object
readonly
Returns the value of attribute json_key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(json_key) ⇒ ParsedMember
constructor
A new instance of ParsedMember.
Constructor Details
#initialize(json_key) ⇒ ParsedMember
Returns a new instance of ParsedMember.
20 21 22 |
# File 'lib/sugoi_pretty_json.rb', line 20 def initialize(json_key) @json_key = json_key.to_s end |
Instance Attribute Details
#json_key ⇒ Object (readonly)
Returns the value of attribute json_key.
18 19 20 |
# File 'lib/sugoi_pretty_json.rb', line 18 def json_key @json_key end |
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/sugoi_pretty_json.rb', line 17 def name @name end |
#source ⇒ Object
Returns the value of attribute source.
17 18 19 |
# File 'lib/sugoi_pretty_json.rb', line 17 def source @source end |