Class: Types::Typed::Bytes32Type
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Type
#array?, #check_and_normalize_literal, #eql?, #hash, #mapping?, #parse_integer, #pretty_print, #raise_type_error
Class Method Details
.instance ⇒ Object
183
|
# File 'lib/solidity/typed/metatypes/types.rb', line 183
def self.instance() @instance ||= new; end
|
Instance Method Details
#==(other) ⇒ Object
189
|
# File 'lib/solidity/typed/metatypes/types.rb', line 189
def ==(other) other.is_a?( Bytes32Type ); end
|
186
|
# File 'lib/solidity/typed/metatypes/types.rb', line 186
def format() 'bytes32'; end
|
#mut? ⇒ Boolean
195
|
# File 'lib/solidity/typed/metatypes/types.rb', line 195
def mut?() false; end
|
#new(initial_value) ⇒ Object
198
|
# File 'lib/solidity/typed/metatypes/types.rb', line 198
def new( initial_value ) Bytes32.new( initial_value ); end
|
#typedclass ⇒ Object
193
|
# File 'lib/solidity/typed/metatypes/types.rb', line 193
def typedclass() Bytes32; end
|
#typedclass_name ⇒ Object
192
|
# File 'lib/solidity/typed/metatypes/types.rb', line 192
def typedclass_name() Bytes32.name; end
|
#zero ⇒ Object
Also known as:
new_zero
196
|
# File 'lib/solidity/typed/metatypes/types.rb', line 196
def zero() Bytes32.zero; end
|