Module: Refuge::Commands

Defined in:
lib/refuge/commands.rb

Defined Under Namespace

Classes: Base

Constant Summary collapse

@@command =
ARGV.find {| elem | elem =~ /^[a-z][a-z\-]+$/i }
@@path =
Pathname.new( Refuge::LIBBASE_COMMANDS + @@command.downcase )
@@current =
Refuge::Commands::Impl.new

Class Method Summary collapse

Class Method Details

.commandObject



54
# File 'lib/refuge/commands.rb', line 54

def command ;@@command ;end

.currentObject



55
# File 'lib/refuge/commands.rb', line 55

def current ;@@current ;end

.pathObject



56
# File 'lib/refuge/commands.rb', line 56

def path    ;@@path    ;end