Sha256: 140ee20a4f59d719af90b83aec3570335672c1d673271145c4b85589c50f0963
Contents?: true
Size: 295 Bytes
Versions: 31
Compression:
Stored size: 295 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- module UnitMeasurements class UnitAlreadyDefinedError < BaseError attr_reader :unit def initialize(unit) @unit = unit super("Unit already defined: '#{unit}'.") end end end
Version data entries
31 entries across 31 versions & 1 rubygems