Sha256: 9c68695478d3782d8112c4fbc0dd6450c7cd708e8fa892564307afbcf7f2ddca
Contents?: true
Size: 632 Bytes
Versions: 7
Compression:
Stored size: 632 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- UnitMeasurements::Voltage = UnitMeasurements.build do system :metric do primitive :V si_unit :V, aliases: [:volt, :volts] unit :"W/A", value: "1 V", aliases: [:"W·A⁻¹", :"watt per ampere", :"watts per ampere"] unit :"J/C", value: "1 V", aliases: [:"J·C⁻¹", :"joule per coulomb", :"joules per coulomb"] end system :centimetre_gram_second do primitive :statV unit :abV, value: "1e-8 V", aliases: [:abvolt, :abvolts] unit :statV, value: "299.792458 V", aliases: [:statvolt, :statvolts] end end
Version data entries
7 entries across 7 versions & 1 rubygems