Class: AbiCoderRb::Bool

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



113
114
115
# File 'lib/abi_coder_rb/type/types.rb', line 113

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

#formatObject



109
110
111
# File 'lib/abi_coder_rb/type/types.rb', line 109

def format
  "bool"
end

#sizeObject



105
106
107
# File 'lib/abi_coder_rb/type/types.rb', line 105

def size
  32
end