Module: Runby
- Defined in:
- lib/runby_pace.rb,
lib/runby_pace/pace.rb,
lib/runby_pace/speed.rb,
lib/runby_pace/cli/cli.rb,
lib/runby_pace/version.rb,
lib/runby_pace/distance.rb,
lib/runby_pace/run_math.rb,
lib/runby_pace/run_type.rb,
lib/runby_pace/version.g.rb,
lib/runby_pace/cli/config.rb,
lib/runby_pace/pace_range.rb,
lib/runby_pace/runby_time.rb,
lib/runby_pace/runby_range.rb,
lib/runby_pace/speed_range.rb,
lib/runby_pace/distance_unit.rb,
lib/runby_pace/golden_pace_set.rb,
lib/runby_pace/pace_calculator.rb,
lib/runby_pace/runby_time_parser.rb,
lib/runby_pace/run_types/easy_run.rb,
lib/runby_pace/run_types/long_run.rb,
lib/runby_pace/run_types/tempo_run.rb,
lib/runby_pace/run_types/distance_run.rb,
lib/runby_pace/run_types/find_divisor.rb,
lib/runby_pace/run_types/mile_race_run.rb,
lib/runby_pace/run_types/fast_tempo_run.rb,
lib/runby_pace/run_types/slow_tempo_run.rb,
lib/runby_pace/run_types/all_run_types.g.rb,
lib/runby_pace/utility/parameter_sanitizer.rb,
lib/runby_pace/utility/warning_suppressant.rb,
lib/runby_pace/run_types/ten_kilometer_race_run.rb,
lib/runby_pace/run_types/five_kilometer_race_run.rb
Overview
This file is automatically generated by a rake task
Defined Under Namespace
Modules: Cli, RunTypes, Utility Classes: Distance, DistanceUnit, GoldenPaceSet, Pace, PaceCalculator, PaceRange, RunMath, RunType, RunbyRange, RunbyTime, RunbyTimeParser, Speed, SpeedRange
Constant Summary collapse
- VERSION =
begin path = File.join(__dir__, 'version.g.rb') if File.exist? path load path Runby::GENERATED_VERSION else puts "\e[31m__TEXT__\e[0m".gsub('__TEXT__', 'Version number not set. Run "rake gen_version_number"') '0.0.0' end end
Class Method Summary collapse
-
.sanitize(parameter) ⇒ Object
Just a shortcut method.
- .with_no_warnings ⇒ Object
Class Method Details
.sanitize(parameter) ⇒ Object
Just a shortcut method
26 27 28 |
# File 'lib/runby_pace/utility/parameter_sanitizer.rb', line 26 def self.sanitize(parameter) Runby::Utility::ParameterSanitizer.sanitize(parameter) end |
.with_no_warnings ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/runby_pace/utility/warning_suppressant.rb', line 4 def self.with_no_warnings warning_level = $VERBOSE $VERBOSE = nil result = yield $VERBOSE = warning_level result end |