Class: Rake::FileTask
- Inherits:
-
Object
- Object
- Rake::FileTask
- Defined in:
- lib/scout/resource/produce/rake.rb
Class Method Summary collapse
- .clear_files ⇒ Object
- .define_task(file, *args, &block) ⇒ Object
- .files ⇒ Object
- .old_define_task ⇒ Object
Class Method Details
.clear_files ⇒ Object
20 21 22 |
# File 'lib/scout/resource/produce/rake.rb', line 20 def self.clear_files @@files = [] end |
.define_task(file, *args, &block) ⇒ Object
10 11 12 13 14 |
# File 'lib/scout/resource/produce/rake.rb', line 10 def self.define_task(file, *args, &block) @@files ||= [] @@files << file old_define_task(file, *args, &block) end |
.files ⇒ Object
16 17 18 |
# File 'lib/scout/resource/produce/rake.rb', line 16 def self.files @@files end |
.old_define_task ⇒ Object
7 |
# File 'lib/scout/resource/produce/rake.rb', line 7 alias_method :old_define_task, :define_task |