Sha256: 5e1425c319b095275391bb2726e0dbd992d8191a7565133ba126ce303544f5da

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

module CapybaraObjects
  module Exceptions
    class TypeNotRegistered < StandardError
      attr_accessor :type
      def initialize(type)
        self.type = type
      end

      def to_s
        "Type not registered in CapybaraObjects::RegistryInstance (#{type})"
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capybara_objects-0.1.2 lib/capybara_objects/exceptions/type_not_registered.rb
capybara_objects-0.1.1 lib/capybara_objects/exceptions/type_not_registered.rb
capybara_objects-0.1.0 lib/capybara_objects/exceptions/type_not_registered.rb