Method: TextUtils::TitleMapper#initialize

Defined in:
lib/textutils/title_mapper.rb

#initialize(records, tag) ⇒ TitleMapper

Returns a new instance of TitleMapper.



25
26
27
28
29
30
# File 'lib/textutils/title_mapper.rb', line 25

def initialize( records, tag )
  @known_titles = build_title_table_for( records )   ## build mapping lookup table

  ## todo: rename tag to attrib or attrib_name - why ?? why not ???
  @tag = tag   # e.g. tag name use for @@brewery@@ @@team@@ etc.
end