Sha256: 01a87b630e61d626a444a2940b1364686e8c91272a5c2e65bd984b3a2eef27b5

Contents?: true

Size: 643 Bytes

Versions: 4

Compression:

Stored size: 643 Bytes

Contents

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

UnitMeasurements::Illuminance = UnitMeasurements.build do
  primitive "lx"

  system :metric do
    si_unit "lx", aliases: ["lux", "lm/m²", "lm/m^2", "lumen per square metre", "lumen per square meter"]
    unit "ph", value: "10000 lx", aliases: ["phot", "phots", "lm/cm²", "lm/cm^2", "lumen per square centimetre", "lumen per square centimeter"]
  end

  system :us_customary do
    unit "fc", value: "10.763910417 lx", aliases: ["footcandle", "lm/ft²", "lm/ft^2", "lumen per square foot"]
  end

  unit "nx", value: "1 mlx", aliases: ["nox"]
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
unit_measurements-5.19.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.18.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements_us_complete-5.17.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.17.0 lib/unit_measurements/unit_groups/illuminance.rb