Class: Runtime
- Inherits:
-
Object
show all
- Defined in:
- lib/rubysol/runtime.rb
Overview
todo/ find a better name - why? why not?
change to Blockchain/Chain/Node/Client/Runner/Ctx/Context or ???
Defined Under Namespace
Classes: Block, Message, Tx
Class Method Summary
collapse
Class Method Details
.block ⇒ Object
69
|
# File 'lib/rubysol/runtime.rb', line 69
def self.block() @block ||= Block.new; end
|
.current_transaction ⇒ Object
Also known as:
current_tx
75
|
# File 'lib/rubysol/runtime.rb', line 75
def self.current_transaction() @tx ||= Tx.new; end
|
.msg ⇒ Object
68
|
# File 'lib/rubysol/runtime.rb', line 68
def self.msg() @msg ||= Message.new; end
|
.start_transaction ⇒ Object
Also known as:
start_tx
use begin_transaction or
new_transaction or __ - why? why not?
74
|
# File 'lib/rubysol/runtime.rb', line 74
def self.start_transaction() @tx = Tx.new; end
|