Sha256: 2a9b5e3c77633dbe26427e29e45dedda3ed3d49753aa338f81a24e4df41e59e4

Contents?: true

Size: 461 Bytes

Versions: 16

Compression:

Stored size: 461 Bytes

Contents

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

UnitMeasurements::MagneticField = UnitMeasurements.build do
  primitive "Oe"

  system :metric do
    si_unit "Oe", aliases: ["oersted", "oersteds"]

    unit "A/m", value: [(Math::PI / 250), "Oe"], aliases: ["ampere/meter", "ampere/metre", "amperes/meter", "amperes/metre", "ampere per meter", "ampere per metre", "amperes per meter", "amperes per metre"]
   end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
unit_measurements-5.19.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.18.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements_us_complete-5.17.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.17.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.16.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.15.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.14.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.13.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.12.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.11.1 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.11.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.10.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.9.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.8.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.7.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.6.1 lib/unit_measurements/unit_groups/magnetic_field.rb