Sha256: ffbbc37d77e6e00ddc41813d9c710dddf18f86a9c048a0eb85809f48bfce1b74

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 Bytes

Contents

require "temperature_conversion/version"

class TemperatureConversion
  def initialize(temperature)
    @temperature = temperature
  end

  def celcius_to_kelvin
    @temperature + 273.15
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
temperature_conversion-1.0.0 lib/temperature_conversion.rb