Class: Calcpace
- Inherits:
-
Object
- Object
- Calcpace
- Includes:
- Calculator, Checker, Converter
- Defined in:
- lib/calcpace.rb
Overview
Main class to calculate velocity, pace, time, distance and velocity
Constant Summary
Constants included from Converter
Converter::FEET_S_TO_M_S, Converter::FEET_TO_METERS, Converter::INCHES_TO_METERS, Converter::KM_H_TO_MI_H, Converter::KM_H_TO_M_S, Converter::KM_TO_METERS, Converter::KM_TO_MI, Converter::KM_TO_NAUTICAL_MI, Converter::KNOTS_TO_M_S, Converter::METERS_TO_FEET, Converter::METERS_TO_INCHES, Converter::METERS_TO_KM, Converter::METERS_TO_MI, Converter::METERS_TO_YARDS, Converter::MI_H_TO_KM_H, Converter::MI_H_TO_M_S, Converter::MI_TO_KM, Converter::MI_TO_METERS, Converter::M_S_TO_FEET_S, Converter::M_S_TO_KM_H, Converter::M_S_TO_KNOTS, Converter::M_S_TO_MI_H, Converter::M_S_TO_NAUTICAL_MI_H, Converter::NAUTICAL_MI_H_TO_M_S, Converter::NAUTICAL_MI_TO_KM, Converter::YARDS_TO_METERS
Instance Attribute Summary collapse
-
#bigdecimal ⇒ Object
readonly
Returns the value of attribute bigdecimal.
Instance Method Summary collapse
-
#initialize ⇒ Calcpace
constructor
A new instance of Calcpace.
Methods included from Converter
#constant, #convert, #convert_to_clocktime, #convert_to_seconds, #list_constants
Methods included from Checker
Methods included from Calculator
#checked_distance, #checked_pace, #checked_time, #checked_velocity, #clock_pace, #clock_time, #clock_velocity, #distance, #pace, #time, #velocity
Constructor Details
#initialize ⇒ Calcpace
Returns a new instance of Calcpace.
15 |
# File 'lib/calcpace.rb', line 15 def initialize; end |
Instance Attribute Details
#bigdecimal ⇒ Object (readonly)
Returns the value of attribute bigdecimal.
13 14 15 |
# File 'lib/calcpace.rb', line 13 def bigdecimal @bigdecimal end |