Sha256: 522f4bd19285009fe9138ba4de6cddfbbdc1c8cd6300abf1e8fbdd0f27954ecb

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

require_relative "unit_conversion/version"
require_relative "unit_conversion/distance_conversion"
require_relative "unit_conversion/temperature_conversion"
require_relative "unit_conversion/weight_conversion"
require_relative "unit_conversion/speed_conversion"

class UnitConversion
  attr_accessor :measurement
  include DistanceConversion
  include TemperatureConversion
  include WeightConversion
  include SpeedConversion

  def initialize(measurement, unit)
    @measurement = measurement
    @unit = unit
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unit_conversion-1.0.2 lib/unit_conversion.rb