Class: SorobanRustBackend::ContractState::Handler
- Inherits:
-
Object
- Object
- SorobanRustBackend::ContractState::Handler
- Defined in:
- lib/contract_state/handler.rb
Class Method Summary collapse
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(state) ⇒ Handler
constructor
A new instance of Handler.
Constructor Details
#initialize(state) ⇒ Handler
Returns a new instance of Handler.
4 5 6 |
# File 'lib/contract_state/handler.rb', line 4 def initialize(state) @state = state end |
Class Method Details
.generate(state) ⇒ Object
8 9 10 |
# File 'lib/contract_state/handler.rb', line 8 def self.generate(state) new(state).generate end |
Instance Method Details
#generate ⇒ Object
12 13 14 |
# File 'lib/contract_state/handler.rb', line 12 def generate generate_state end |