Sha256: 9c808f321624ef16558c9b19aace129b3e3020a6a9f79e2c5207acecca78c95d

Contents?: true

Size: 841 Bytes

Versions: 19

Compression:

Stored size: 841 Bytes

Contents

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

UnitMeasurements::Acceleration = UnitMeasurements.build do
  primitive "m/s²"

  system :metric do
    si_unit "m/s²", aliases: ["m/s^2", "m·s⁻²", "meter per second squared", "meters per second squared", "metre per second squared", "metres per second squared"]
  end

  system :imperial do
    unit "in/s²", value: "0.0254 m/s²", aliases: ["in/s^2", "in·s⁻²", "inch per second squared", "inches per second squared"]
  end

  system :foot_pound_second do
    unit "ft/s²", value: "0.3048 m/s²", aliases: ["ft/s^2", "ft·s⁻²", "foot per second squared", "feet per second squared"]
  end

  system :meteorology_aviation_maritime do
    unit "Kn/s", value: "0.5144444 m/s²", aliases: ["knot per second", "knots per second"]
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
unit_measurements-5.4.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-5.3.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-5.2.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-5.1.1 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-5.1.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-5.0.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.12.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.11.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.10.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.9.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.8.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.7.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.6.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.5.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.4.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.3.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.2.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.1.0 lib/unit_measurements/unit_groups/acceleration.rb
unit_measurements-4.0.0 lib/unit_measurements/unit_groups/acceleration.rb