Module: ICli

Defined in:
lib/proutils/icli/gforge.rb,
lib/proutils/icli/rubyforge.rb,
lib/proutils/icli/abstract_host.rb

Defined Under Namespace

Classes: AbstractHost, Gforge, Rubyforge

Constant Summary collapse

COOKIEJAR =
File::join(Dir.tmpdir, 'icli', 'cookie.dat')

Class Method Summary collapse

Class Method Details

.factory(name) ⇒ Object



17
18
19
20
# File 'lib/proutils/icli/abstract_host.rb', line 17

def self.factory(name)
  ["proutils/icli/#{name.downcase}.rb"].each{ |x| require x }  # only did it this way to shut rdoc up!
  ICli::const_get(name.capitalize)
end