Exception: Goodcheck::ImportLoader::UnexpectedSchemaError
- Defined in:
- lib/goodcheck/import_loader.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri) ⇒ UnexpectedSchemaError
constructor
A new instance of UnexpectedSchemaError.
Constructor Details
#initialize(uri) ⇒ UnexpectedSchemaError
Returns a new instance of UnexpectedSchemaError.
6 7 8 9 |
# File 'lib/goodcheck/import_loader.rb', line 6 def initialize(uri) super("Unexpected URI schema: #{uri.scheme}") @uri = uri end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
4 5 6 |
# File 'lib/goodcheck/import_loader.rb', line 4 def uri @uri end |