Class: Avm::EacUbuntuBase0::Rspec::SshDockerServer

Inherits:
EacDocker::Images::Templatized
  • Object
show all
Defined in:
lib/avm/eac_ubuntu_base0/rspec/ssh_docker_server.rb

Instance Method Summary collapse

Instance Method Details

#envEacRubyUtils::Envs::SshEnv

Returns:

  • (EacRubyUtils::Envs::SshEnv)


12
13
14
15
16
# File 'lib/avm/eac_ubuntu_base0/rspec/ssh_docker_server.rb', line 12

def env
  raise '@env is blank' if @env.blank?

  @env
end

#on_run(&block) ⇒ Object



18
19
20
21
22
# File 'lib/avm/eac_ubuntu_base0/rspec/ssh_docker_server.rb', line 18

def on_run(&block)
  on_container do
    on_env(&block)
  end
end