Sha256: c73722fa9d011aef1e9a1e3e238d827f60e03163372d52d6f4acd3486dd7a78f

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

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

UnitMeasurements::Quantity = UnitMeasurements.build do
  base "pc", aliases: ["pcs", "piece", "pieces"]

  unit "pr", value: "2 pc", aliases: ["pair", "pairs"]
  unit "dz", value: "6 pr", aliases: ["doz", "dozen", "dozens"]
  unit "gr", value: "12 doz", aliases: ["gross", "grosses"]
  unit "gg", value: "12 gr", aliases: ["great gross", "great grosses", "grand gross", "grand grosses", "dozen gross", "dozen grosses"]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unit_measurements-2.6.1 lib/unit_measurements/unit_groups/quantity.rb