Class: Buildr::Java::Packaging::JarTask
- Defined in:
- lib/java/packaging.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#manifest ⇒ Object
Returns the value of attribute manifest.
Instance Method Summary collapse
- #[]=(key, value) ⇒ Object
-
#initialize(*args) ⇒ JarTask
constructor
A new instance of JarTask.
Methods inherited from ZipTask
#invoke_prerequisites, #needed?, #path, #with
Methods included from ZipTask::IncludeFiles
Constructor Details
#initialize(*args) ⇒ JarTask
Returns a new instance of JarTask.
11 12 13 14 |
# File 'lib/java/packaging.rb', line 11 def initialize(*args) super @manifest = true end |
Instance Attribute Details
#manifest ⇒ Object
Returns the value of attribute manifest.
9 10 11 |
# File 'lib/java/packaging.rb', line 9 def manifest @manifest end |
Instance Method Details
#[]=(key, value) ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/java/packaging.rb', line 16 def []=(key, value) if key.to_sym == :manifest self.manifest = value else super key, value end value end |