Sha256: 7aa92fc8b5ece8f83d44c590d2b6b8bb54aad5b79becc042e5223ca70a5d038b

Contents?: true

Size: 750 Bytes

Versions: 12

Compression:

Stored size: 750 Bytes

Contents

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

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

  system :metric do
    unit "m²/s", aliases: ["m^2/s", "square metre per second", "square meter per second", "square metres per second", "square meters per second"]
  end

  system :foot_pound_second do
    unit "ft²/s", value: "0.09290304 m²/s", aliases: ["ft^2/s", "square foot per second", "square feet per second"]
    unit "in²/s", value: "0.006944444444444443 ft²/s", aliases: ["in^2/s", "square inch per second", "square inches per second"]
  end

  system :centimetre_gram_second do
    unit "St", value: "1e-4 m²/s", aliases: ["stoke", "strokes"]
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
unit_measurements-5.16.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.15.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.14.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.13.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.12.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.11.1 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.11.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.10.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.9.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.8.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.7.0 lib/unit_measurements/unit_groups/kinetic_viscosity.rb
unit_measurements-5.6.1 lib/unit_measurements/unit_groups/kinetic_viscosity.rb