Class: TEALrb::Local

Inherits:
Object
  • Object
show all
Defined in:
lib/tealrb/local.rb

Instance Method Summary collapse

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 []()
  LocalAccount.new @contract
end