Module: Warg

Defined in:
lib/warg.rb

Defined Under Namespace

Classes: ChainCommand, Command, Config, Console, Context, Executor, Host, HostCollection, InvalidHostDataError, Localhost, 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.



2192
2193
2194
# File 'lib/warg.rb', line 2192

def config
  @config
end

.consoleObject (readonly)

Returns the value of attribute console.



2193
2194
2195
# File 'lib/warg.rb', line 2193

def console
  @console
end

.search_pathsObject (readonly)

Returns the value of attribute search_paths.



2194
2195
2196
# File 'lib/warg.rb', line 2194

def search_paths
  @search_paths
end

Class Method Details

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

Yields:



2201
2202
2203
# File 'lib/warg.rb', line 2201

def self.configure
  yield config
end

.default_userObject



2205
2206
2207
# File 'lib/warg.rb', line 2205

def self.default_user
  config.default_user
end