Class: Runar::SDK::ABI
- Inherits:
-
Struct
- Object
- Struct
- Runar::SDK::ABI
- Defined in:
- lib/runar/sdk/types.rb
Overview
Contract ABI: constructor params and method descriptors.
Instance Attribute Summary collapse
-
#constructor_params ⇒ Object
Returns the value of attribute constructor_params.
-
#methods ⇒ Object
Returns the value of attribute methods.
Instance Method Summary collapse
-
#initialize(constructor_params: [], methods: []) ⇒ ABI
constructor
A new instance of ABI.
Constructor Details
#initialize(constructor_params: [], methods: []) ⇒ ABI
Returns a new instance of ABI.
49 50 51 |
# File 'lib/runar/sdk/types.rb', line 49 def initialize(constructor_params: [], methods: []) super end |
Instance Attribute Details
#constructor_params ⇒ Object
Returns the value of attribute constructor_params
48 49 50 |
# File 'lib/runar/sdk/types.rb', line 48 def constructor_params @constructor_params end |
#methods ⇒ Object
Returns the value of attribute methods
48 49 50 |
# File 'lib/runar/sdk/types.rb', line 48 def methods @methods end |