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
182
|
# File 'lib/solidity/typed/metatypes/types.rb', line 182
def self.instance() @instance ||= new; end
|
Instance Method Details
#==(other) ⇒ Object
188
|
# File 'lib/solidity/typed/metatypes/types.rb', line 188
def ==(other) other.is_a?( Bytes32Type ); end
|
185
|
# File 'lib/solidity/typed/metatypes/types.rb', line 185
def format() 'bytes32'; end
|
#mut? ⇒ Boolean
194
|
# File 'lib/solidity/typed/metatypes/types.rb', line 194
def mut?() false; end
|
#new(initial_value) ⇒ Object
197
|
# File 'lib/solidity/typed/metatypes/types.rb', line 197
def new( initial_value ) Bytes32.new( initial_value ); end
|
#typedclass ⇒ Object
192
|
# File 'lib/solidity/typed/metatypes/types.rb', line 192
def typedclass() Bytes32; end
|
#typedclass_name ⇒ Object
191
|
# File 'lib/solidity/typed/metatypes/types.rb', line 191
def typedclass_name() Bytes32.name; end
|
#zero ⇒ Object
Also known as:
new_zero
195
|
# File 'lib/solidity/typed/metatypes/types.rb', line 195
def zero() Bytes32.zero; end
|