Class: EvmClient::Singleton
- Inherits:
-
Object
- Object
- EvmClient::Singleton
- Defined in:
- lib/evm_client/singleton.rb
Class Attribute Summary collapse
-
.client ⇒ Object
Returns the value of attribute client.
-
.default_account ⇒ Object
Returns the value of attribute default_account.
-
.host ⇒ Object
Returns the value of attribute host.
-
.instance ⇒ Object
Returns the value of attribute instance.
-
.ipcpath ⇒ Object
Returns the value of attribute ipcpath.
-
.log ⇒ Object
Returns the value of attribute log.
Class Method Summary collapse
Class Attribute Details
.client ⇒ Object
Returns the value of attribute client.
5 6 7 |
# File 'lib/evm_client/singleton.rb', line 5 def client @client end |
.default_account ⇒ Object
Returns the value of attribute default_account.
5 6 7 |
# File 'lib/evm_client/singleton.rb', line 5 def default_account @default_account end |
.host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/evm_client/singleton.rb', line 5 def host @host end |
.instance ⇒ Object
Returns the value of attribute instance.
5 6 7 |
# File 'lib/evm_client/singleton.rb', line 5 def instance @instance end |
.ipcpath ⇒ Object
Returns the value of attribute ipcpath.
5 6 7 |
# File 'lib/evm_client/singleton.rb', line 5 def ipcpath @ipcpath end |
.log ⇒ Object
Returns the value of attribute log.
5 6 7 |
# File 'lib/evm_client/singleton.rb', line 5 def log @log end |
Class Method Details
.reset ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/evm_client/singleton.rb', line 15 def reset @instance = nil @client = nil @host = nil @log = nil @ipcpath = nil @default_account = nil end |
.setup {|_self| ... } ⇒ Object
11 12 13 |
# File 'lib/evm_client/singleton.rb', line 11 def setup yield(self) end |