Class: AbstractSyntaxTreeKit::HashElement

Inherits:
Struct
  • Object
show all
Defined in:
lib/astkit.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



98
99
100
# File 'lib/astkit.rb', line 98

def key
  @key
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



98
99
100
# File 'lib/astkit.rb', line 98

def value
  @value
end