Class: RbJSON5::Parser::ObjectMember Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/rb_json5/parser/object.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

structure to keep a name/value pair for JSON5Object

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



92
93
94
# File 'lib/rb_json5/parser/object.rb', line 92

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



92
93
94
# File 'lib/rb_json5/parser/object.rb', line 92

def value
  @value
end