Sha256: d5355bc1052f156732ab8786a2e4fd459fd0421b4cac14be3731158aea680932

Contents?: true

Size: 297 Bytes

Versions: 11

Compression:

Stored size: 297 Bytes

Contents

module RunbyPace

  class RunType
    def description
      'No description'
    end

    def pace(five_k_time, distance_units = :km)
    end
  end

  module RunTypes
    def self.new_from_name(run_type_name)
      Object::const_get("RunbyPace::RunTypes::#{run_type_name}").new
    end
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
runby_pace-0.2.68 lib/runby_pace/run_type.rb
runby_pace-0.2.67 lib/runby_pace/run_type.rb
runby_pace-0.2.66 lib/runby_pace/run_type.rb
runby_pace-0.2.65 lib/runby_pace/run_type.rb
runby_pace-0.2.64 lib/runby_pace/run_type.rb
runby_pace-0.2.63 lib/runby_pace/run_type.rb
runby_pace-0.2.62 lib/runby_pace/run_type.rb
runby_pace-0.2.61 lib/runby_pace/run_type.rb
runby_pace-0.2.60 lib/runby_pace/run_type.rb
runby_pace-0.2.59 lib/runby_pace/run_type.rb
runby_pace-0.2.58 lib/runby_pace/run_type.rb