Sha256: 43c3351964cc8227b0d30e94cd332c90dedebf9546432bc6e2aa63fdfcbe3db3

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

module Mass
  class Pitch
    # Thrown when a +Pitch+ cannot be found, e.g. it is not valid.
    class NotFound < RuntimeError
      def initialize(name)
        @message = "Invalid pitch '#{name}'"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mass-0.0.1 lib/mass/pitch/not_found.rb