Class: Array

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

Instance Method Summary collapse

Instance Method Details

#with_height(min, max) ⇒ Object



197
198
199
# File 'lib/bitcoin/store/utxo_db.rb', line 197

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