Exception: ShellHelpers::PathnameExt::ActionHandler::PathnameError
- Inherits:
-
StandardError
- Object
- StandardError
- ShellHelpers::PathnameExt::ActionHandler::PathnameError
- Defined in:
- lib/shell_helpers/pathname.rb
Instance Attribute Summary collapse
-
#ex ⇒ Object
encapsulate another exception.
Instance Method Summary collapse
-
#initialize(ex = nil) ⇒ PathnameError
constructor
A new instance of PathnameError.
- #to_s ⇒ Object
Constructor Details
#initialize(ex = nil) ⇒ PathnameError
Returns a new instance of PathnameError.
445 446 447 |
# File 'lib/shell_helpers/pathname.rb', line 445 def initialize(ex=nil) @ex=ex end |
Instance Attribute Details
#ex ⇒ Object
encapsulate another exception
444 445 446 |
# File 'lib/shell_helpers/pathname.rb', line 444 def ex @ex end |
Instance Method Details
#to_s ⇒ Object
448 449 450 |
# File 'lib/shell_helpers/pathname.rb', line 448 def to_s @ex.to_s end |