Class: SportDb::MapperV2::MappingStruct
- Inherits:
-
Struct
- Object
- Struct
- SportDb::MapperV2::MappingStruct
- Defined in:
- lib/sportdb/formats/match/mapper.rb
Overview
key: e.g. augsburg
name: e.g. FC Augsburg
length (of name(!!) - not regex pattern): e.g. 11 -- do not count dots (e.g. U.S.A. => 3 or 6) why? why not?
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#length ⇒ Object
Returns the value of attribute length.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
20 21 22 |
# File 'lib/sportdb/formats/match/mapper.rb', line 20 def key @key end |
#length ⇒ Object
Returns the value of attribute length
20 21 22 |
# File 'lib/sportdb/formats/match/mapper.rb', line 20 def length @length end |
#name ⇒ Object
Returns the value of attribute name
20 21 22 |
# File 'lib/sportdb/formats/match/mapper.rb', line 20 def name @name end |
#pattern ⇒ Object
Returns the value of attribute pattern
20 21 22 |
# File 'lib/sportdb/formats/match/mapper.rb', line 20 def pattern @pattern end |