Module: Autoshell
- Defined in:
- lib/autoshell.rb,
lib/autoshell/git.rb,
lib/autoshell/log.rb,
lib/autoshell/run.rb,
lib/autoshell/version.rb,
lib/autoshell/filestuff.rb,
lib/autoshell/environment.rb,
lib/autoshell/test_helper.rb
Overview
Version info
Defined Under Namespace
Modules: Environment, Filestuff, Git, Log, Run, TestHelper Classes: Base, CommandError
Constant Summary collapse
- ALLOWED_ENV =
These vars are copied from the ruby script’s environment
%w(PATH LANG USER LOGNAME LC_CTYPE LD_LIBRARY_PATH ARCHFLAGS TMPDIR SSH_AUTH_SOCK HOME)
- LOG_FORMATTER =
Default log formatter
proc { |_s, _d, _p, msg| msg }
- LOG_LEVEL =
Default log level
Logger::DEBUG
- VERSION =
'1.0.6'
Class Method Summary collapse
-
.new(path = '.', env: {}, logger: nil) ⇒ Object
(also: open)
Create a new autoshell.
Class Method Details
.new(path = '.', env: {}, logger: nil) ⇒ Object Also known as: open
Create a new autoshell. Same as ‘Autoshell::Base.new`.
36 37 38 |
# File 'lib/autoshell.rb', line 36 def new(path = '.', env: {}, logger: nil) Base.new(path, env: env, logger: logger) end |