Class: SportDb::Import::WikiReader::WikiClub
- Inherits:
-
Object
- Object
- SportDb::Import::WikiReader::WikiClub
- Defined in:
- lib/sportdb/config/wiki_reader.rb
Instance Attribute Summary collapse
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, country) ⇒ WikiClub
constructor
A new instance of WikiClub.
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
#country ⇒ Object (readonly)
Returns the value of attribute country.
11 12 13 |
# File 'lib/sportdb/config/wiki_reader.rb', line 11 def country @country end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/sportdb/config/wiki_reader.rb', line 11 def name @name end |