Module: EacRubyUtils::Envs

Defined in:
lib/eac_ruby_utils/envs.rb,
lib/eac_ruby_utils/envs/file.rb,
lib/eac_ruby_utils/envs/spawn.rb,
lib/eac_ruby_utils/envs/command.rb,
lib/eac_ruby_utils/envs/process.rb,
lib/eac_ruby_utils/envs/ssh_env.rb,
lib/eac_ruby_utils/envs/base_env.rb,
lib/eac_ruby_utils/envs/local_env.rb,
lib/eac_ruby_utils/envs/executable.rb,
lib/eac_ruby_utils/envs/base_command.rb,
lib/eac_ruby_utils/envs/ssh_env/quiet.rb,
lib/eac_ruby_utils/envs/command/envvars.rb,
lib/eac_ruby_utils/envs/execution_error.rb,
lib/eac_ruby_utils/envs/execution_result.rb,
lib/eac_ruby_utils/envs/ssh_env/terminal.rb,
lib/eac_ruby_utils/envs/composite_command.rb,
lib/eac_ruby_utils/envs/base_command/concat.rb,
lib/eac_ruby_utils/envs/command/extra_options.rb,
lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb,
lib/eac_ruby_utils/envs/ssh_env/identity_file.rb,
lib/eac_ruby_utils/envs/base_command/debugging.rb,
lib/eac_ruby_utils/envs/base_command/execution.rb,
lib/eac_ruby_utils/envs/base_command/extra_options.rb,
lib/eac_ruby_utils/envs/base_command/append_command_options.rb

Defined Under Namespace

Modules: BaseCommand Classes: BaseEnv, Command, CompositeCommand, Executable, ExecutionError, ExecutionResult, File, LocalEnv, Process, Spawn, SshEnv

Class Method Summary collapse

Class Method Details

.localObject



14
15
16
# File 'lib/eac_ruby_utils/envs.rb', line 14

def local
  @local ||= ::EacRubyUtils::Envs::LocalEnv.new
end

.ssh(user_hostname) ⇒ Object



18
19
20
# File 'lib/eac_ruby_utils/envs.rb', line 18

def ssh(user_hostname)
  ::EacRubyUtils::Envs::SshEnv.new(user_hostname)
end