Class: Texd::Cache::Node
- Inherits:
-
Object
- Object
- Texd::Cache::Node
- Defined in:
- lib/texd/cache.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#next ⇒ Object
Returns the value of attribute next.
-
#prev ⇒ Object
Returns the value of attribute prev.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key) ⇒ Node
constructor
A new instance of Node.
Constructor Details
#initialize(key) ⇒ Node
Returns a new instance of Node.
40 41 42 |
# File 'lib/texd/cache.rb', line 40 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
37 38 39 |
# File 'lib/texd/cache.rb', line 37 def key @key end |
#next ⇒ Object
Returns the value of attribute next.
38 39 40 |
# File 'lib/texd/cache.rb', line 38 def next @next end |
#prev ⇒ Object
Returns the value of attribute prev.
38 39 40 |
# File 'lib/texd/cache.rb', line 38 def prev @prev end |
#value ⇒ Object
Returns the value of attribute value.
38 39 40 |
# File 'lib/texd/cache.rb', line 38 def value @value end |