Sha256: 10fea38253e62fdd0d20786a4bc1413472e15caccb066b15fc659ed54ee0757e

Contents?: true

Size: 504 Bytes

Versions: 33

Compression:

Stored size: 504 Bytes

Contents

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

UnitMeasurements::ElectricCurrent = UnitMeasurements.build do
  primitive "A"

  system :metric do
    si_unit "A", aliases: ["amp", "ampere", "amperes"]
  end

  system :centimetre_gram_second do
    unit "Bi", value: "10 A", aliases: ["biot", "biots"]
    unit "abA", value: "10 A", aliases: ["abampere", "abamperes"]
    unit "statA", value: "3.33564e-10 A", aliases: ["statampere", "statamperes"]
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
unit_measurements-5.15.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.14.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.13.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.12.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.11.1 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.11.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.10.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.9.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.8.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.7.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.6.1 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.6.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.5.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.4.1 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.4.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.3.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.2.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.1.1 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.1.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-5.0.0 lib/unit_measurements/unit_groups/electric_current.rb