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/ssh_env/quiet.rb,
lib/eac_ruby_utils/envs/ssh_env/terminal.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

Defined Under Namespace

Classes: BaseEnv, Command, Executable, 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