Class: SportDb::MapperV2::Record
- Inherits:
-
Struct
- Object
- Struct
- SportDb::MapperV2::Record
- Defined in:
- lib/sportdb/formats/match/mapper.rb
Overview
convenience helper - (auto)build ActiveRecord-like team records/structs
Instance Attribute Summary collapse
-
#alt_names ⇒ Object
Returns the value of attribute alt_names.
-
#key ⇒ Object
Returns the value of attribute key.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#alt_names ⇒ Object
Returns the value of attribute alt_names
24 25 26 |
# File 'lib/sportdb/formats/match/mapper.rb', line 24 def alt_names @alt_names end |
#key ⇒ Object
Returns the value of attribute key
24 25 26 |
# File 'lib/sportdb/formats/match/mapper.rb', line 24 def key @key end |
#name ⇒ Object
Returns the value of attribute name
24 25 26 |
# File 'lib/sportdb/formats/match/mapper.rb', line 24 def name @name end |