Sha256: 5e82d0d4bd4614047fd966aadd9f7348e1b22aa83cac1fbe4d82a668f2530173
Contents?: true
Size: 689 Bytes
Versions: 12
Compression:
Stored size: 689 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- UnitMeasurements::ElectricalResistance = UnitMeasurements.build do primitive "Ω" system :metric do si_unit "Ω", aliases: ["ω", "ohm", "ohms", "reciprocal siemens"] unit "S", value: "1 Ω", aliases: ["siemens", "mho", "mhos"] unit "V/A", value: "1 Ω", aliases: ["volt/amp", "volts/amp", "volt/ampere", "volts/ampere", "volt per ampere", "volts per ampere"] end system :centimetre_gram_second do unit "abΩ", value: "1e-9 Ω", aliases: ["abω", "abohm", "abohms"] unit "statΩ", value: "8.98755178737e+11 Ω", aliases: ["statω", "statohm", "statohms"] end end
Version data entries
12 entries across 12 versions & 1 rubygems