Module: Avm::Self

Defined in:
lib/avm/self.rb,
lib/avm/self/root.rb,
lib/avm/self/instance.rb,
lib/avm/self/docker_image.rb,
lib/avm/self/instance/entry_keys.rb

Defined Under Namespace

Classes: DockerImage, Instance

Class Method Summary collapse

Class Method Details

.applicationObject



12
13
14
# File 'lib/avm/self.rb', line 12

def application
  @application ||= ::EacRubyBase0::Application.new(root.to_path)
end

.instanceObject



16
17
18
# File 'lib/avm/self.rb', line 16

def instance
  @instance ||= ::Avm::Self::Instance.by_id('avm-tools_self')
end

.rootObject



8
9
10
# File 'lib/avm/self/root.rb', line 8

def root
  ::Pathname.new('../../..').expand_path(__dir__)
end