Class: Avm::Applications::Base

Inherits:
Object
  • Object
show all
Includes:
Entries::Base
Defined in:
lib/avm/applications/base.rb,
lib/avm/applications/base/stereotype.rb

Defined Under Namespace

Modules: Stereotype

Constant Summary collapse

LOCAL_INSTANCE_SUFFIX =
'dev'

Instance Method Summary collapse

Methods included from Entries::Base

#entries_provider_id, #entry, #full_entry_path, #path_prefix, #read_entry, #read_entry_optional

Instance Method Details

#instance(suffix) ⇒ Object



24
25
26
# File 'lib/avm/applications/base.rb', line 24

def instance(suffix)
  ::Avm::Instances::Base.new(self, suffix)
end

#nameObject



28
29
30
# File 'lib/avm/applications/base.rb', line 28

def name
  entry(::Avm::Instances::EntryKeys::NAME).read
end

#to_sObject



20
21
22
# File 'lib/avm/applications/base.rb', line 20

def to_s
  id
end