Class: ABI::Bool

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

Overview

class Uint

Instance Method Summary collapse

Methods inherited from Type

#dynamic?, parse

Instance Method Details

#==(another_type) ⇒ Object



91
# File 'lib/abicoder/types.rb', line 91

def ==(another_type)  another_type.kind_of?( Bool ); end

#formatObject



90
# File 'lib/abicoder/types.rb', line 90

def format() 'bool'; end

#sizeObject

note: always uses 32 bytes (with padding)



89
# File 'lib/abicoder/types.rb', line 89

def size() 32;  end