Class: SportDb::Import::WikiReader::WikiClub
- Inherits:
-
Object
- Object
- SportDb::Import::WikiReader::WikiClub
- Defined in:
- lib/sportdb/helpers/wiki_reader.rb
Overview
nested class
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.
9 10 11 |
# File 'lib/sportdb/helpers/wiki_reader.rb', line 9 def initialize( name, country ) @name, @country = name, country end |
Instance Attribute Details
#country ⇒ Object (readonly)
Returns the value of attribute country.
8 9 10 |
# File 'lib/sportdb/helpers/wiki_reader.rb', line 8 def country @country end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/sportdb/helpers/wiki_reader.rb', line 8 def name @name end |