Class: Avm::Applications::Base

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

Instance Method Summary collapse

Methods included from Instances::Entries

#entry, #full_entry_path, #inherited_entry_value, #other_entry_value, #path_prefix, #read_entry, #read_entry_optional

Instance Method Details

#instance(suffix) ⇒ Object



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

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

#nameObject



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

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

#to_sObject



15
16
17
# File 'lib/avm/applications/base.rb', line 15

def to_s
  id
end