Sha256: a79444352ca9253c48cc8d685b1038bb589033c21aaf6d4714f314e1474a2544

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

# encoding: utf-8

class AbstractMapper

  # The collection of gem-specific errors
  #
  module Errors

    # An exception to be raised when unknown DSL methods is used
    #
    # @api public
    #
    class UnknownCommand < NameError

      # @private
      def initialize(name)
        super "'#{name}' is not a registered DSL command"
        freeze
      end

    end # class UnknownCommand

  end # module Errors

end # class AbstractMapper

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abstract_mapper-0.0.1 lib/abstract_mapper/errors/unknown_command.rb