Class: SportDb::Import::WikiReader::WikiClub

Inherits:
Object
  • Object
show all
Defined in:
lib/sportdb/config/wiki_reader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, country) ⇒ WikiClub

Returns a new instance of WikiClub.



12
13
14
# File 'lib/sportdb/config/wiki_reader.rb', line 12

def initialize( name, country )
  @name, @country = name, country
end

Instance Attribute Details

#countryObject (readonly)

Returns the value of attribute country.



11
12
13
# File 'lib/sportdb/config/wiki_reader.rb', line 11

def country
  @country
end

#nameObject (readonly)

Returns the value of attribute name.



11
12
13
# File 'lib/sportdb/config/wiki_reader.rb', line 11

def name
  @name
end