Class: AbiCoderRb::String

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



127
128
129
# File 'lib/abi_coder_rb/type/types.rb', line 127

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

#formatObject



123
124
125
# File 'lib/abi_coder_rb/type/types.rb', line 123

def format
  "string"
end

#sizeObject



119
120
121
# File 'lib/abi_coder_rb/type/types.rb', line 119

def size
  nil
end