Sha256: fa27e8595baecd89f9438db1b34861017cf42f850d59930c8633b6284a05e0b5

Contents?: true

Size: 442 Bytes

Versions: 4

Compression:

Stored size: 442 Bytes

Contents

# -*- encoding: utf-8 -*-
# -*- frozen_string_literal: true -*-
# -*- warn_indent: true -*-

UnitMeasurements::RadiationAbsorbedDose = UnitMeasurements.build do
  primitive "Gy"

  system :metric do
    si_unit "Gy", aliases: ["gray", "grays"]

    unit "rad", value: "0.01 Gy", aliases: ["radiation absorbed dose"]
    unit "erg/g", value: "1e-4 Gy", aliases: ["erg per gram", "erg per gramme", "ergs per gram", "ergs per gramme"]
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
unit_measurements-5.19.0 lib/unit_measurements/unit_groups/radiation_absorbed_dose.rb
unit_measurements-5.18.0 lib/unit_measurements/unit_groups/radiation_absorbed_dose.rb
unit_measurements_us_complete-5.17.0 lib/unit_measurements/unit_groups/radiation_absorbed_dose.rb
unit_measurements-5.17.0 lib/unit_measurements/unit_groups/radiation_absorbed_dose.rb