class Numeric

Public Instance Methods

convert_digital_storage(from:, to:) click to toggle source
# File lib/lite/measurements/monkey_patches/digital_storage.rb, line 5
def convert_digital_storage(from:, to:)
  Lite::Measurements::DigitalStorage.convert(self, from: from, to: to)
end
convert_length(from:, to:) click to toggle source
# File lib/lite/measurements/monkey_patches/length.rb, line 5
def convert_length(from:, to:)
  Lite::Measurements::Length.convert(self, from: from, to: to)
end
convert_mass(from:, to:) click to toggle source
# File lib/lite/measurements/monkey_patches/mass.rb, line 5
def convert_mass(from:, to:)
  Lite::Measurements::Mass.convert(self, from: from, to: to)
end
convert_temperature(from:, to:) click to toggle source
# File lib/lite/measurements/monkey_patches/temperature.rb, line 5
def convert_temperature(from:, to:)
  Lite::Measurements::Temperature.convert(self, from: from, to: to)
end
convert_time(from:, to:) click to toggle source
# File lib/lite/measurements/monkey_patches/time.rb, line 5
def convert_time(from:, to:)
  Lite::Measurements::Time.convert(self, from: from, to: to)
end