Class: BSV::Script::BIP276::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/bsv/script/bip276.rb

Overview

Returned by decode; immutable value object.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



22
23
24
# File 'lib/bsv/script/bip276.rb', line 22

def data
  @data
end

#networkObject (readonly)

Returns the value of attribute network

Returns:

  • (Object)

    the current value of network



22
23
24
# File 'lib/bsv/script/bip276.rb', line 22

def network
  @network
end

#prefixObject (readonly)

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



22
23
24
# File 'lib/bsv/script/bip276.rb', line 22

def prefix
  @prefix
end

#versionObject (readonly)

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



22
23
24
# File 'lib/bsv/script/bip276.rb', line 22

def version
  @version
end