Method: Etherlite::Abi::LoadType#perform

Defined in:
lib/etherlite/commands/abi/load_type.rb

#performObject

Raises:

  • (ArgumentError)


5
6
7
8
9
10
11
# File 'lib/etherlite/commands/abi/load_type.rb', line 5

def perform
  parts = MATCHER.match @signature
  raise ArgumentError, "Invalid argument type #{@signature}" if parts.nil?

  type = build_base_type parts
  build_array_type type, parts
end