Method: Casper::Entity::BlockInfo#get_height

Defined in:
lib/entity/block_info.rb

#get_heightInteger

Returns the height of this block, i.e., the number of ancestors.

Returns:

  • (Integer)

    the height of this block, i.e., the number of ancestors.



39
40
41
# File 'lib/entity/block_info.rb', line 39

def get_height
  @height
end