Class: Texd::Cache::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/texd/cache.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject (readonly)

Returns the value of attribute key.



37
38
39
# File 'lib/texd/cache.rb', line 37

def key
  @key
end

#nextObject

Returns the value of attribute next.



38
39
40
# File 'lib/texd/cache.rb', line 38

def next
  @next
end

#prevObject

Returns the value of attribute prev.



38
39
40
# File 'lib/texd/cache.rb', line 38

def prev
  @prev
end

#valueObject

Returns the value of attribute value.



38
39
40
# File 'lib/texd/cache.rb', line 38

def value
  @value
end