Class: SportDb::MapperV2::Record

Inherits:
Struct
  • Object
show all
Defined in:
lib/sportdb/formats/match/mapper.rb

Overview

convenience helper - (auto)build ActiveRecord-like team records/structs

Instance Attribute Summary collapse

Instance Attribute Details

#alt_namesObject

Returns the value of attribute alt_names

Returns:

  • (Object)

    the current value of alt_names



24
25
26
# File 'lib/sportdb/formats/match/mapper.rb', line 24

def alt_names
  @alt_names
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



24
25
26
# File 'lib/sportdb/formats/match/mapper.rb', line 24

def key
  @key
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



24
25
26
# File 'lib/sportdb/formats/match/mapper.rb', line 24

def name
  @name
end