class BitcoinNode::P2p::StoreProbe
Attributes
store[R]
Public Class Methods
new()
click to toggle source
# File lib/bitcoin_node/p2p/probe.rb, line 10 def initialize @store = Hash.new { |h, key| h[key] = [] } end
Public Instance Methods
<<(hash)
click to toggle source
# File lib/bitcoin_node/p2p/probe.rb, line 14 def <<(hash) hash.each do |key, value| store[key] << value end end