Sha256: f0ff327789c0960b4fbb7fcd6ce9225b0ccb99592d7c8bd0f61034c81c820be3

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

require_relative "unit_conversion/version"
require_relative "unit_conversion/distance_conversion"
require_relative "unit_conversion/temperature_conversion"

class UnitConversion
  attr_accessor :measurement
  include DistanceConversion
  include TemperatureConversion

  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.0 lib/unit_conversion.rb