Sha256: 9d0b217d76d23637efe09c223d5112f975e1cb3de159897eeec582bf06fae2bb

Contents?: true

Size: 398 Bytes

Versions: 9

Compression:

Stored size: 398 Bytes

Contents

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

UnitMeasurements::ElectricCurrent = UnitMeasurements.build do
  si_unit :A, aliases: [:amp, :ampere, :amperes]

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
unit_measurements-3.2.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.1.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-3.0.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-2.6.2 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-2.6.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-2.5.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-2.4.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-2.3.0 lib/unit_measurements/unit_groups/electric_current.rb
unit_measurements-2.2.0 lib/unit_measurements/unit_groups/electric_current.rb