Exception: ShellHelpers::PathnameExt::ActionHandler::PathnameError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shell_helpers/pathname.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#exObject

encapsulate another exception



444
445
446
# File 'lib/shell_helpers/pathname.rb', line 444

def ex
  @ex
end

Instance Method Details

#to_sObject



448
449
450
# File 'lib/shell_helpers/pathname.rb', line 448

def to_s
	@ex.to_s
end