Class: AbiCoderRb::Bool
Overview
class Uint
Instance Method Summary collapse
- #==(other) ⇒ Object
- #format ⇒ Object
-
#size ⇒ Object
note: always uses 32 bytes (with padding).
Methods inherited from Type
Instance Method Details
#==(other) ⇒ Object
140 141 142 |
# File 'lib/abi_coder_rb/types.rb', line 140 def ==(other) other.is_a?(Bool) end |
#format ⇒ Object
136 137 138 |
# File 'lib/abi_coder_rb/types.rb', line 136 def format "bool" end |
#size ⇒ Object
note: always uses 32 bytes (with padding)
132 133 134 |
# File 'lib/abi_coder_rb/types.rb', line 132 def size 32 end |