Class: Sigma::BlockId

Inherits:
Object
  • Object
show all
Extended by:
FFI::Library
Defined in:
lib/sigma/block_header.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#pointerObject

Returns the value of attribute pointer.



122
123
124
# File 'lib/sigma/block_header.rb', line 122

def pointer
  @pointer
end

Class Method Details

.with_raw_pointer(pointer) ⇒ Object



124
125
126
# File 'lib/sigma/block_header.rb', line 124

def self.with_raw_pointer(pointer)
  init(pointer)
end