Sha256: 744f6c9979b128e34821a1b24e6f0f913cd6bd279ccff38a956dd69c2d2d3ed4
Contents?: true
Size: 778 Bytes
Versions: 5
Compression:
Stored size: 778 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- UnitMeasurements::Pressure = UnitMeasurements.build do primitive "Pa" system :metric do si_unit "Pa", aliases: ["pascal", "pascals"] unit "bar", value: "100 kPa", aliases: ["bars"] end system :centimetre_gram_second do unit "Ba", value: "0.1 Pa", aliases: ["barye", "baryes"] end system :metre_tonne_second do unit "pz", value: "1 kPa", aliases: ["pieze", "pièze"] end system :gravitational_metric do unit "at", value: "98066.5 Pa", aliases: ["technical atmosphere", "technical atmospheres"] end unit "atm", value: "101325 Pa", aliases: ["atmosphere", "atmospheres"] unit "Torr", value: [Rational(1, 760), "atm"], aliases: ["torr"] end
Version data entries
5 entries across 5 versions & 1 rubygems