Class: Thor::CoreExt::OrderedHash::Node

Inherits:
Struct show all
Defined in:
lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

json_create, #to_json

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



16
17
18
# File 'lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb', line 16

def key
  @key
end

#nextObject

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



16
17
18
# File 'lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb', line 16

def next
  @next
end

#prevObject

Returns the value of attribute prev

Returns:

  • (Object)

    the current value of prev



16
17
18
# File 'lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb', line 16

def prev
  @prev
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



16
17
18
# File 'lib/vendor/thor/lib/thor/core_ext/ordered_hash.rb', line 16

def value
  @value
end