Class: AbiCoderRb::String

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

Overview

class Bool

Instance Method Summary collapse

Methods inherited from Type

#dynamic?, parse

Instance Method Details

#==(other) ⇒ Object



155
156
157
# File 'lib/abi_coder_rb/types.rb', line 155

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

#formatObject



151
152
153
# File 'lib/abi_coder_rb/types.rb', line 151

def format
  "string"
end

#sizeObject

note: dynamic (not known at compile-time)



147
148
149
# File 'lib/abi_coder_rb/types.rb', line 147

def size
  nil
end