Sha256: 7e348d70238f1f43cb623a6af19f55582d665d563d7242e0f277620cdb750ac7

Contents?: true

Size: 512 Bytes

Versions: 7

Compression:

Stored size: 512 Bytes

Contents

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

UnitMeasurements::ElectricCurrent = UnitMeasurements.build do
  system :metric do
    primitive :A

    si_unit :A, aliases: [:amp, :ampere, :amperes]
  end

  system :centimetre_gram_second do
    primitive :abA

    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

7 entries across 7 versions & 1 rubygems

Version Path
unit_measurements-3.8.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.7.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.6.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.5.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.4.1 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.3.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.4.0 lib/unit_measurements/unit_groups/electric_current.rb