Class: Zilliqa::Contract::Value
- Inherits:
-
Object
- Object
- Zilliqa::Contract::Value
- Defined in:
- lib/zilliqa/contract/contract.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#vname ⇒ Object
readonly
Returns the value of attribute vname.
Instance Method Summary collapse
-
#initialize(vname, type, value) ⇒ Value
constructor
A new instance of Value.
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
#type ⇒ Object (readonly)
Returns the value of attribute type.
130 131 132 |
# File 'lib/zilliqa/contract/contract.rb', line 130 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
130 131 132 |
# File 'lib/zilliqa/contract/contract.rb', line 130 def value @value end |
#vname ⇒ Object (readonly)
Returns the value of attribute vname.
130 131 132 |
# File 'lib/zilliqa/contract/contract.rb', line 130 def vname @vname end |