Sha256: 7acaa90d251f81207ab0cc7f92582e709aab23bf5499ba52268fe656d9cda92e

Contents?: true

Size: 275 Bytes

Versions: 8

Compression:

Stored size: 275 Bytes

Contents

module RunbyPace

  class RunType
    def description
      'No description'
    end

    def pace(five_k_time)
    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

8 entries across 8 versions & 1 rubygems

Version Path
runby_pace-0.2.57 lib/runby_pace/run_type.rb
runby_pace-0.2.56 lib/runby_pace/run_type.rb
runby_pace-0.2.55 lib/runby_pace/run_type.rb
runby_pace-0.2.50 lib/runby_pace/run_type.rb
runby_pace-0.2.48 lib/runby_pace/run_type.rb
runby_pace-0.2.45 lib/runby_pace/run_type.rb
runby_pace-0.2.43 lib/runby_pace/run_type.rb
runby_pace-0.2.41 lib/runby_pace/run_type.rb