Module: Warg

Defined in:
lib/warg.rb

Defined Under Namespace

Classes: ChainCommand, Command, Config, Console, Context, Executor, Host, HostCollection, InvalidHostDataError, LazilyFilteredHostCollection, Localhost, Playlist, Runner, Script

Constant Summary collapse

LOCALHOST =
Localhost.new

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject (readonly)

Returns the value of attribute config.



2278
2279
2280
# File 'lib/warg.rb', line 2278

def config
  @config
end

.consoleObject (readonly)

Returns the value of attribute console.



2279
2280
2281
# File 'lib/warg.rb', line 2279

def console
  @console
end

.search_pathsObject (readonly)

Returns the value of attribute search_paths.



2280
2281
2282
# File 'lib/warg.rb', line 2280

def search_paths
  @search_paths
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



2287
2288
2289
# File 'lib/warg.rb', line 2287

def self.configure
  yield config
end

.default_userObject



2291
2292
2293
# File 'lib/warg.rb', line 2291

def self.default_user
  config.default_user
end