Class: Jdt::LibraryManifest

Inherits:
Manifest show all
Defined in:
lib/jdt/manifest/library_manifest.rb

Instance Attribute Summary

Attributes inherited from Manifest

#doc, #errors, #file, #warnings

Instance Method Summary collapse

Methods inherited from Manifest

#author, #author_email, #author_url, #build, #bump!, #copyright, #creation_date, #description, #exists?, #ext_method, #ext_type, find, #folder, #homepage, #initialize, #license, #name, #prefixed_name, #prefixed_name_with_version, #referenced, #release, #required_joomla_version, #secure, #to_specific, #to_xml, #valid?, #version

Constructor Details

This class inherits a constructor from Jdt::Manifest

Instance Method Details

#ext_type_shortObject



10
11
12
# File 'lib/jdt/manifest/library_manifest.rb', line 10

def ext_type_short
  "lib"
end

#library_nameObject



14
15
16
# File 'lib/jdt/manifest/library_manifest.rb', line 14

def library_name
  @doc.xpath("//extension/libraryname").text
end

#typeObject



6
7
8
# File 'lib/jdt/manifest/library_manifest.rb', line 6

def type
  "library"
end