Class: Zilliqa::Contract::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/zilliqa/contract/contract.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vname, type, value) ⇒ Value

Returns a new instance of Value.



131
132
133
134
135
# File 'lib/zilliqa/contract/contract.rb', line 131

def initialize(vname, type, value)
  @vname = vname
  @type = type
  @value = value
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



130
131
132
# File 'lib/zilliqa/contract/contract.rb', line 130

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value.



130
131
132
# File 'lib/zilliqa/contract/contract.rb', line 130

def value
  @value
end

#vnameObject (readonly)

Returns the value of attribute vname.



130
131
132
# File 'lib/zilliqa/contract/contract.rb', line 130

def vname
  @vname
end