Class: Sigma::BlockId
- Inherits:
-
Object
- Object
- Sigma::BlockId
- Extended by:
- FFI::Library
- Defined in:
- lib/sigma/block_header.rb
Overview
Represents the Id of a BlockHeader
Instance Attribute Summary collapse
-
#pointer ⇒ Object
Returns the value of attribute pointer.
Class Method Summary collapse
-
.with_raw_pointer(pointer) ⇒ BlockId
Takes ownership of an existing BlockId Pointer.
Instance Attribute Details
#pointer ⇒ Object
Returns the value of attribute pointer.
152 153 154 |
# File 'lib/sigma/block_header.rb', line 152 def pointer @pointer end |
Class Method Details
.with_raw_pointer(pointer) ⇒ BlockId
Note:
A user of sigma_rb generally does not need to call this function
Takes ownership of an existing BlockId Pointer.
158 159 160 |
# File 'lib/sigma/block_header.rb', line 158 def self.with_raw_pointer(pointer) init(pointer) end |