Sha256: 3026aac719fd6ed48c63aaffdf5e04ba23284e48973c37c23814f37bbae6578c
Contents?: true
Size: 616 Bytes
Versions: 12
Compression:
Stored size: 616 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- module UnitMeasurements # The +UnitMeasurements::BlankUnitError+ class represents an error that # occurs when trying to initialize the +Measurement+ with a blank unit. # # @see BaseError # @author {Harshal V. Ladhe}[https://shivam091.github.io/] # @since 5.10.0 class BlankUnitError < BaseError # Initializes a new +BlankUnitError+ instance. # # @author {Harshal V. Ladhe}[https://shivam091.github.io/] # @since 5.10.0 def initialize super("Unit cannot be blank.") end end end
Version data entries
12 entries across 12 versions & 2 rubygems