Class: AbiCoderRb::Address

Inherits:
Type
  • Object
show all
Defined in:
lib/abi_coder_rb/type/types.rb

Instance Method Summary collapse

Methods inherited from Type

#dynamic?, parse

Instance Method Details

#==(other) ⇒ Object



25
26
27
# File 'lib/abi_coder_rb/type/types.rb', line 25

def ==(other)
  other.is_a?(Address)
end

#formatObject



21
22
23
# File 'lib/abi_coder_rb/type/types.rb', line 21

def format
  "address"
end

#sizeObject



17
18
19
# File 'lib/abi_coder_rb/type/types.rb', line 17

def size
  32
end