Method: Multimethod::Table#initialize

Defined in:
lib/multimethod/table.rb

#initialize(*opts) ⇒ Table

Creates a new Table object.



26
27
28
29
30
31
32
# File 'lib/multimethod/table.rb', line 26

def initialize(*opts)
  @multimethod_by_name = { }
  @multimethod = [ ]

  # Type name lookup cache
  @name_to_object = { }
end