Class: Baykit::BayServer::Docker::Http::H2::Huffman::HNode

Inherits:
Object
  • Object
show all
Defined in:
lib/baykit/bayserver/docker/http/h2/huffman/hnode.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHNode

Returns a new instance of HNode.



15
16
17
18
19
# File 'lib/baykit/bayserver/docker/http/h2/huffman/hnode.rb', line 15

def initialize
  @value = -1
  @one = nil
  @zero = nil
end

Instance Attribute Details

#oneObject

Returns the value of attribute one.



12
13
14
# File 'lib/baykit/bayserver/docker/http/h2/huffman/hnode.rb', line 12

def one
  @one
end

#valueObject

Returns the value of attribute value.



11
12
13
# File 'lib/baykit/bayserver/docker/http/h2/huffman/hnode.rb', line 11

def value
  @value
end

#zeroObject

Returns the value of attribute zero.



13
14
15
# File 'lib/baykit/bayserver/docker/http/h2/huffman/hnode.rb', line 13

def zero
  @zero
end