Class: Solace::Instructions::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/solace/instructions/base.rb

Direct Known Subclasses

SystemProgram::TransferInstruction

Class Method Summary collapse

Class Method Details

.buildSolace::Instruction

Must implement build method

Returns:

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/solace/instructions/base.rb', line 8

def build 
  raise NotImplementedError, "Subclasses must implement build method"
end

.dataArray<Integer>

Must implement data method

Returns:

  • (Array<Integer>)

    The instruction data

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/solace/instructions/base.rb', line 15

def data
  raise NotImplementedError, "Subclasses must implement data method"
end