class Current

Public Class Methods

amount() click to toggle source
# File lib/michelson/michelson.rb, line 88
def self.amount()       @amount ||= 0; end
amount=(value) click to toggle source
# File lib/michelson/michelson.rb, line 87
def self.amount=(value) @amount = value; end
failwith( *args) click to toggle source

todo/check: Current.failwith exits? - always use “global” failwith - why? why not?

# File lib/michelson/michelson.rb, line 95
def self.failwith( *args)
  ## hack: todo - is there a better way to call "global" outer failwith function/method ???
  Object.send( :failwith, *args );
end
sender() click to toggle source
# File lib/michelson/michelson.rb, line 91
def self.sender()       @sender ||= "0x0000"; end
sender=(value) click to toggle source
# File lib/michelson/michelson.rb, line 90
def self.sender=(value) @sender = value; end