Class: Award
- Inherits:
-
Object
- Object
- Award
- Defined in:
- lib/member.rb
Overview
awards for total distance, number of events
Constant Summary collapse
- ATTRIBUTES =
[ :type, :year ]
Instance Method Summary collapse
-
#initialize(meta = nil) ⇒ Award
constructor
A new instance of Award.
Constructor Details
#initialize(meta = nil) ⇒ Award
Returns a new instance of Award.
65 66 67 68 69 |
# File 'lib/member.rb', line 65 def initialize = nil ATTRIBUTES.each do |item| self.send("#{item}=", ([item] || "")) end if end |