Sha256: 453d49b0b64609ae1e1e1e0d6882c7add6b064493ef477ef36dc20a7d33be226

Contents?: true

Size: 264 Bytes

Versions: 5

Compression:

Stored size: 264 Bytes

Contents

module Ruby
  module Enum
    module Errors
      # Error raised when a duplicate enum key is found
      class DuplicateKeyError < Base
        def initialize(attrs)
          super(compose_message('duplicate_key', attrs))
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/gems/ruby-enum-0.7.2/lib/ruby-enum/errors/duplicate_key_error.rb
ruby-enum-0.7.2 lib/ruby-enum/errors/duplicate_key_error.rb
ruby-enum-0.7.1 lib/ruby-enum/errors/duplicate_key_error.rb
ruby-enum-0.7.0 lib/ruby-enum/errors/duplicate_key_error.rb
ruby-enum-0.6.0 lib/ruby-enum/errors/duplicate_key_error.rb