Sha256: 07d88a6ab45f5ccc1a6c4b7bfc1cc37be933679fdff05dfb9a329b1a827ee27c

Contents?: true

Size: 263 Bytes

Versions: 8

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true
module Measured
  class MissingConversionPath < UnitError
    attr_reader :from, :to

    def initialize(from, to)
      super("Cannot find conversion path from #{from} to #{to}.")
      @from = from
      @to = to
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
measured-3.1.0 lib/measured/missing_conversion_path.rb
measured-3.0.0 lib/measured/missing_conversion_path.rb
measured-2.8.2 lib/measured/missing_conversion_path.rb
measured-2.8.1 lib/measured/missing_conversion_path.rb
measured-2.8.0 lib/measured/missing_conversion_path.rb
measured-2.7.1 lib/measured/missing_conversion_path.rb
measured-2.7.0 lib/measured/missing_conversion_path.rb
measured-2.6.0 lib/measured/missing_conversion_path.rb