Module: ShellHelpers::PathnameExt

Includes:
ActionHandler, FileUtilsWrapper
Included in:
Pathname
Defined in:
lib/shell_helpers/pathname.rb

Overview

SH::Pathname is Pathname with extra features and methods from FileUtils rather than File when possible to use this module rather than ::Pathname in a module or class, simply define Pathname=SH::Pathname in an appropriate nesting level

Defined Under Namespace

Modules: ActionHandler, FUClass, FileUtilsWrapper Classes: Base

Constant Summary

Constants included from ActionHandler

ActionHandler::FSError, ActionHandler::RemoveError

Instance Attribute Summary

Attributes included from FUClass

#fu_class

Class Method Summary collapse

Methods included from ActionHandler

#do_action?, #on_rm, #on_rm_r, #on_rm_rf, #rel_ln_s, #squel, #squel_dir

Methods included from FileUtilsWrapper

#chdir

Class Method Details

.included(base) ⇒ Object



384
385
386
# File 'lib/shell_helpers/pathname.rb', line 384

def self.included(base)
	base.extend(FUClass)
end