Class: Sparrowhawk::ManifestEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/sparrowhawk/manifest_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeManifestEntry

Returns a new instance of ManifestEntry.



6
7
8
# File 'lib/sparrowhawk/manifest_entry.rb', line 6

def initialize
  @name = 'META-INF/MANIFEST.MF'
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/sparrowhawk/manifest_entry.rb', line 4

def name
  @name
end

Instance Method Details

#contentObject



10
11
12
# File 'lib/sparrowhawk/manifest_entry.rb', line 10

def content
  %Q{Manifest-Version: 1.0\nCreated-By: #{Sparrowhawk::VERSION} (Sparrowhawk)}
end