Sha256: bcf8bdbf109dfe4700dadb5cf317a9a98131998c7c31f84ba68d01db62b559cb

Contents?: true

Size: 686 Bytes

Versions: 12

Compression:

Stored size: 686 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"]
  end

  system :centimetre_gram_second do
    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

12 entries across 12 versions & 1 rubygems

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