Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/bitcoin/wallet/utxo_db.rb

Instance Method Summary collapse

Instance Method Details

#with_height(min, max) ⇒ Object



133
134
135
# File 'lib/bitcoin/wallet/utxo_db.rb', line 133

def with_height(min, max)
  select { |u| u.block_height >= min && u.block_height <= max }
end