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-4.12.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.11.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.10.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.9.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.8.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.7.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.6.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.5.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.4.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.3.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.2.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.1.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-4.0.0 lib/unit_measurements/unit_groups/electric_current.rb