Class: Jsonerino::JsonString

Inherits:
JsonValue show all
Defined in:
lib/jsonerino/ast.rb

Instance Attribute Summary collapse

Attributes inherited from JsonValue

#finish, #start

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ JsonString

Returns a new instance of JsonString.



39
40
41
# File 'lib/jsonerino/ast.rb', line 39

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



37
38
39
# File 'lib/jsonerino/ast.rb', line 37

def value
  @value
end

Instance Method Details

#resolveObject



43
44
45
# File 'lib/jsonerino/ast.rb', line 43

def resolve
  @value
end