Sha256: 26be96fd69171c7b9cc66ccea061bf8a8876114b37844839638f3d477eba75bf

Contents?: true

Size: 730 Bytes

Versions: 19

Compression:

Stored size: 730 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", "lm·m⁻²", "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", "lm·cm⁻²", "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", "lm·ft⁻²", "lumen per square foot"]
  end

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
unit_measurements-5.6.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.5.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.4.1 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.4.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.3.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.2.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.1.1 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.1.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-5.0.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.12.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.11.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.10.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.9.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.8.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.7.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.6.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.5.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.4.0 lib/unit_measurements/unit_groups/illuminance.rb
unit_measurements-4.3.0 lib/unit_measurements/unit_groups/illuminance.rb