Class: TEALrb::Local
- Inherits:
-
Object
- Object
- TEALrb::Local
- Defined in:
- lib/tealrb/local.rb
Instance Method Summary collapse
- #[](_account) ⇒ Object
-
#initialize(contract) ⇒ Local
constructor
A new instance of Local.
Constructor Details
#initialize(contract) ⇒ Local
Returns a new instance of Local.
19 20 21 |
# File 'lib/tealrb/local.rb', line 19 def initialize(contract) @contract = contract end |
Instance Method Details
#[](_account) ⇒ Object
23 24 25 |
# File 'lib/tealrb/local.rb', line 23 def [](_account) LocalAccount.new @contract end |