Sha256: 1affb669decd8ea25edde0806ba7b7d917fb686eec1f80eccb699c6f10189043
Contents?: true
Size: 726 Bytes
Versions: 17
Compression:
Stored size: 726 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: ["pièze"] end unit "at", value: "98066.5 Pa", aliases: ["technical atmosphere", "technical atmospheres"] unit "atm", value: "101325 Pa", aliases: ["atmosphere", "atmospheres"] unit "Torr", value: [Rational(1, 760), "atm"], aliases: ["torr"] end
Version data entries
17 entries across 17 versions & 1 rubygems