Class: Mongoose::HeaderNode
Overview
HeaderNode Class
Instance Attribute Summary collapse
-
#forward ⇒ Object
Returns the value of attribute forward.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize ⇒ HeaderNode
constructor
A new instance of HeaderNode.
- #inspect ⇒ Object
Constructor Details
#initialize ⇒ HeaderNode
Returns a new instance of HeaderNode.
413 414 415 416 |
# File 'lib/mongoose/skiplist.rb', line 413 def initialize @forward = [] @key = HeaderKey.new end |
Instance Attribute Details
#forward ⇒ Object
Returns the value of attribute forward.
410 411 412 |
# File 'lib/mongoose/skiplist.rb', line 410 def forward @forward end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
411 412 413 |
# File 'lib/mongoose/skiplist.rb', line 411 def key @key end |
Instance Method Details
#inspect ⇒ Object
418 419 420 |
# File 'lib/mongoose/skiplist.rb', line 418 def inspect self.class.to_s end |