Sha256: cba9968771a8a19092311f2b4b16fa10897a88776769ea15f5bc02adebebecab

Contents?: true

Size: 854 Bytes

Versions: 7

Compression:

Stored size: 854 Bytes

Contents

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

UnitMeasurements::Force = UnitMeasurements.build do
  system :metric do
    primitive :N

    si_unit :N, aliases: [:newton, :newtons]
    unit :kgf, value: "9.80665 N", aliases: [:"kilogram-force", :"kilogramme-force"]
  end

  system :centimetre_gram_second do
    unit :dyn, value: "1e-5 N", aliases: [:dyne, :dynes]
  end

  system :metre_tonne_second do
    unit :tf, value: "8896.443230521 N", aliases: [:"tonne-force"]
  end

  system :avoirdupois do
    unit :ozf, value: "0.27801385095378125 N", aliases: [:"ounce-force"]
  end

  system :english_engineering do
    unit :lbf, value: "4.4482216152605 N", aliases: [:"pound-force"]
  end

  system :foot_pound_second do
    unit :pdl, value: "0.138254954376 N", aliases: [:poundal, :poundals]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
unit_measurements-3.8.0 lib/unit_measurements/unit_groups/force.rb
unit_measurements-3.7.0 lib/unit_measurements/unit_groups/force.rb
unit_measurements-3.6.0 lib/unit_measurements/unit_groups/force.rb
unit_measurements-3.5.0 lib/unit_measurements/unit_groups/force.rb
unit_measurements-3.4.1 lib/unit_measurements/unit_groups/force.rb
unit_measurements-3.3.0 lib/unit_measurements/unit_groups/force.rb
unit_measurements-3.4.0 lib/unit_measurements/unit_groups/force.rb