Class: Sparrowhawk::ManifestEntry
- Inherits:
-
Object
- Object
- Sparrowhawk::ManifestEntry
- Defined in:
- lib/sparrowhawk/manifest_entry.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #content ⇒ Object
-
#initialize ⇒ ManifestEntry
constructor
A new instance of ManifestEntry.
Constructor Details
#initialize ⇒ ManifestEntry
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
#name ⇒ Object (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
#content ⇒ Object
10 11 12 |
# File 'lib/sparrowhawk/manifest_entry.rb', line 10 def content %Q{Manifest-Version: 1.0\nCreated-By: #{Sparrowhawk::VERSION} (Sparrowhawk)} end |