Sha256: d0be6eb8ee0d1caee95dc6de7e2b097ff431ce7e4b950fd12ece7d7606540df7
Contents?: true
Size: 1.09 KB
Versions: 7
Compression:
Stored size: 1.09 KB
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- require "active_support/all" require "unit_measurements/version" module UnitMeasurements class << self def build(&block) builder = UnitGroupBuilder.new builder.instance_eval(&block) Class.new(Measurement) do class << self attr_reader :unit_group end @unit_group = builder.build end end end end require "unit_measurements/unit_group_builder" require "unit_measurements/unit" require "unit_measurements/unit_methods" require "unit_measurements/unit_system" require "unit_measurements/unit_group" require "unit_measurements/arithmetic" require "unit_measurements/comparison" require "unit_measurements/conversion" require "unit_measurements/math" require "unit_measurements/normalizer" require "unit_measurements/parser" require "unit_measurements/formatter" require "unit_measurements/measurement" require "unit_measurements/errors/unit_error" require "unit_measurements/errors/unit_already_defined_error" require "unit_measurements/errors/parse_error"
Version data entries
7 entries across 7 versions & 1 rubygems