Class: Types::Typed::BytesType
Overview
fix: see comments above - is bytes dynamic? or frozen?
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
203
|
# File 'lib/solidity/typed/metatypes/types.rb', line 203
def self.instance() @instance ||= new; end
|
Instance Method Details
#==(other) ⇒ Object
208
|
# File 'lib/solidity/typed/metatypes/types.rb', line 208
def ==(other) other.is_a?( BytesType ); end
|
205
|
# File 'lib/solidity/typed/metatypes/types.rb', line 205
def format() 'bytes'; end
|
#mut? ⇒ Boolean
213
|
# File 'lib/solidity/typed/metatypes/types.rb', line 213
def mut?() false; end
|
#new(initial_value) ⇒ Object
216
|
# File 'lib/solidity/typed/metatypes/types.rb', line 216
def new( initial_value ) Bytes.new( initial_value ); end
|
#typedclass ⇒ Object
211
|
# File 'lib/solidity/typed/metatypes/types.rb', line 211
def typedclass() Bytes; end
|
#typedclass_name ⇒ Object
210
|
# File 'lib/solidity/typed/metatypes/types.rb', line 210
def typedclass_name() Bytes.name; end
|
#zero ⇒ Object
Also known as:
new_zero
214
|
# File 'lib/solidity/typed/metatypes/types.rb', line 214
def zero() Bytes.zero; end
|