Class: Protocol::HPACK::Huffman::Generator::Node::Transition

Inherits:
Object
  • Object
show all
Defined in:
lib/protocol/hpack/huffman/generator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(emit, node) ⇒ Transition

Returns a new instance of Transition.



48
49
50
51
# File 'lib/protocol/hpack/huffman/generator.rb', line 48

def initialize(emit, node)
  @emit = emit
  @node = node
end

Instance Attribute Details

#emitObject

Returns the value of attribute emit.



47
48
49
# File 'lib/protocol/hpack/huffman/generator.rb', line 47

def emit
  @emit
end

#nodeObject

Returns the value of attribute node.



47
48
49
# File 'lib/protocol/hpack/huffman/generator.rb', line 47

def node
  @node
end