Exception: Ellipses::Support::SanitizePath::Sanitizer::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Ellipses::Support::SanitizePath::Sanitizer::Error
- Defined in:
- lib/ellipses/support/sanitize_path.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(path) ⇒ Error
Returns a new instance of Error.
12 13 14 |
# File 'lib/ellipses/support/sanitize_path.rb', line 12 def initialize(path) super("#{kind}: #{path}") end |
Class Method Details
.kind(message) ⇒ Object
16 17 18 19 20 |
# File 'lib/ellipses/support/sanitize_path.rb', line 16 def self.kind() Class.new self do define_method(:kind) { } end end |