Class: RunnersUpdate::Point
- Inherits:
-
Object
- Object
- RunnersUpdate::Point
- Defined in:
- lib/runners_update/runner.rb
Overview
測定ポイントクラス
Instance Attribute Summary collapse
-
#lap ⇒ Object
Returns the value of attribute lap.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pass ⇒ Object
Returns the value of attribute pass.
-
#split ⇒ Object
Returns the value of attribute split.
Instance Method Summary collapse
-
#initialize(name, split, lap, pass) ⇒ Point
constructor
initialize.
Constructor Details
#initialize(name, split, lap, pass) ⇒ Point
initialize
31 32 33 34 35 36 |
# File 'lib/runners_update/runner.rb', line 31 def initialize(name, split, lap, pass) @name = name @split = split @lap = lap @pass = pass end |
Instance Attribute Details
#lap ⇒ Object
Returns the value of attribute lap.
24 25 26 |
# File 'lib/runners_update/runner.rb', line 24 def lap @lap end |
#name ⇒ Object
Returns the value of attribute name.
24 25 26 |
# File 'lib/runners_update/runner.rb', line 24 def name @name end |
#pass ⇒ Object
Returns the value of attribute pass.
24 25 26 |
# File 'lib/runners_update/runner.rb', line 24 def pass @pass end |
#split ⇒ Object
Returns the value of attribute split.
24 25 26 |
# File 'lib/runners_update/runner.rb', line 24 def split @split end |