Sha256: 316869b503257c20ad9c99f90e6e4de66153be403af51a0aab451cdbd7c020b1

Contents?: true

Size: 566 Bytes

Versions: 34

Compression:

Stored size: 566 Bytes

Contents

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

UnitMeasurements::MagneticFlux = UnitMeasurements.build do
  primitive "Wb"

  system :metric do
    si_unit "Wb", aliases: ["weber", "webers"]

    unit "T·m²", value: "1 Wb", aliases: ["T*m^2", "tesla-square meter", "tesla-square metre"]
  end

  system :centimetre_gram_second do
    unit "Mx", value: "1e-8 Wb", aliases: ["maxwell", "maxwells"]
    unit "G·cm²", value: "1e-8 Wb", aliases: ["G*cm^2", "gauss-square centimeter", "gauss-square centimetre"]
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
unit_measurements-5.16.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.15.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.14.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.13.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.12.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.11.1 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.11.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.10.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.9.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.8.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.7.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.6.1 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.6.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.5.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.4.1 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.4.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.3.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.2.0 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.1.1 lib/unit_measurements/unit_groups/magnetic_flux.rb
unit_measurements-5.1.0 lib/unit_measurements/unit_groups/magnetic_flux.rb