Sha256: 2a5708cf927dccca8da1c0d19b9d5937bc37e8da6bb2a436425f3a07b94e4f77

Contents?: true

Size: 360 Bytes

Versions: 23

Compression:

Stored size: 360 Bytes

Contents

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

UnitMeasurements::MagneticInduction = UnitMeasurements.build do
  primitive "T"

  system :metric do
    si_unit "T", aliases: ["tesla", "teslas"]
  end

  system :centimetre_gram_second do
    unit "G", value: "1e-4 T", aliases: ["Gs", "gauss", "gausses"]
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

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