Class: Avm::Applications::Base

Inherits:
Object
  • Object
show all
Includes:
Entries::Base
Defined in:
lib/avm/applications/base.rb,
lib/avm/applications/base/scm.rb,
lib/avm/applications/base/naming.rb,
lib/avm/applications/base/publishing.rb,
lib/avm/applications/base/stereotype.rb,
lib/avm/applications/base/local_source.rb,
lib/avm/applications/base/organization.rb,
lib/avm/applications/base/local_instance.rb,
lib/avm/applications/base/auto_local_source_path.rb

Defined Under Namespace

Modules: LocalInstance, LocalSource, Naming, Organization, Publishing, Scm, Stereotype Classes: AutoLocalSourcePath

Constant Summary collapse

AVM_TYPE =
'Application'

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Entries::Base

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

Class Method Details

.by_id(id) ⇒ Avm::Applications::Base

Parameters:

  • id (String)

Returns:



17
18
19
# File 'lib/avm/applications/base.rb', line 17

def by_id(id)
  new(id)
end

Instance Method Details

#instance(suffix) ⇒ Object



30
31
32
# File 'lib/avm/applications/base.rb', line 30

def instance(suffix)
  stereotype.instance_class.new(self, suffix)
end

#to_sObject



26
27
28
# File 'lib/avm/applications/base.rb', line 26

def to_s
  id
end