Class: Result
- Inherits:
-
Object
- Object
- Result
- Defined in:
- lib/member.rb
Overview
the result of an event that the member participated in
Constant Summary collapse
- ATTRIBUTES =
[ :certificate, :date, :distance, :organizer, :type ]
Instance Method Summary collapse
-
#initialize(meta = nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(meta = nil) ⇒ Result
Returns a new instance of Result.
51 52 53 54 55 |
# File 'lib/member.rb', line 51 def initialize = nil ATTRIBUTES.each do |item| self.send("#{item}=", ([item] || "")) end if end |