Class: Ethmo::Block
- Inherits:
-
Hash
- Object
- Hash
- Ethmo::Block
- Defined in:
- lib/ethmo/block.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(hash) ⇒ Block
constructor
A new instance of Block.
- #transactions ⇒ Object
Constructor Details
Instance Method Details
#transactions ⇒ Object
10 11 12 13 14 |
# File 'lib/ethmo/block.rb', line 10 def transactions @transactions ||= self['transactions'] .map { |tx| Transaction.new(tx) } end |