Method: ABI::Type#format

Defined in:
lib/abicoder/types.rb

#formatObject

Raises:

  • (ArgumentError)


27
28
29
30
# File 'lib/abicoder/types.rb', line 27

def format
  ## check/todo: what error to raise for not implemented / method not defined???
  raise ArgumentError, "no required format method defined for Type subclass #{self.class.name}; sorry"
end