Sha256: a0f50fc5508342fc5b5529f9d073cf5025d390fd1c847dc528b3bc81852deeee

Contents?: true

Size: 474 Bytes

Versions: 22

Compression:

Stored size: 474 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: ["A·m⁻¹", "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

22 entries across 22 versions & 1 rubygems

Version Path
unit_measurements-5.6.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.5.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.4.1 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.4.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.3.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.2.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.1.1 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.1.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-5.0.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.12.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.11.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.10.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.9.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.8.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.7.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.6.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.5.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.4.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.3.0 lib/unit_measurements/unit_groups/magnetic_field.rb
unit_measurements-4.2.0 lib/unit_measurements/unit_groups/magnetic_field.rb