Class: Rake::Manifest::Task
- Inherits:
-
TaskLib
- Object
- TaskLib
- Rake::Manifest::Task
- Defined in:
- lib/rake/manifest/task.rb
Overview
Tasks to create and check manifest file
Instance Attribute Summary collapse
-
#manifest_file ⇒ Object
Returns the value of attribute manifest_file.
-
#name ⇒ Object
Returns the value of attribute name.
-
#patterns ⇒ Object
Returns the value of attribute patterns.
Instance Method Summary collapse
-
#initialize(name = :manifest) {|_self| ... } ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(name = :manifest) {|_self| ... } ⇒ Task
Returns a new instance of Task.
11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/rake/manifest/task.rb', line 11 def initialize(name = :manifest) super() self.manifest_file = "Manifest.txt" self.patterns = ["**/*"] self.name = name yield self if block_given? namespace name do define_tasks end end |
Instance Attribute Details
#manifest_file ⇒ Object
Returns the value of attribute manifest_file.
9 10 11 |
# File 'lib/rake/manifest/task.rb', line 9 def manifest_file @manifest_file end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/rake/manifest/task.rb', line 9 def name @name end |
#patterns ⇒ Object
Returns the value of attribute patterns.
9 10 11 |
# File 'lib/rake/manifest/task.rb', line 9 def patterns @patterns end |