Class: Buildr::ArchiveTask::Merge
- Defined in:
- lib/buildr/packaging/archive.rb
Instance Method Summary collapse
- #concatenate(*files) ⇒ Object
- #exclude(*files) ⇒ Object
- #include(*files) ⇒ Object (also: #<<)
-
#initialize(expanders) ⇒ Merge
constructor
A new instance of Merge.
- #transform(*files, &block) ⇒ Object
Constructor Details
#initialize(expanders) ⇒ Merge
Returns a new instance of Merge.
256 257 258 |
# File 'lib/buildr/packaging/archive.rb', line 256 def initialize() @expanders = end |
Instance Method Details
#concatenate(*files) ⇒ Object
271 272 273 274 |
# File 'lib/buildr/packaging/archive.rb', line 271 def concatenate(*files) @expanders.each { || .concatenate(*files) } self end |
#exclude(*files) ⇒ Object
266 267 268 269 |
# File 'lib/buildr/packaging/archive.rb', line 266 def exclude(*files) @expanders.each { || .exclude(*files) } self end |
#include(*files) ⇒ Object Also known as: <<
260 261 262 263 |
# File 'lib/buildr/packaging/archive.rb', line 260 def include(*files) @expanders.each { || .include(*files) } self end |
#transform(*files, &block) ⇒ Object
276 277 278 279 |
# File 'lib/buildr/packaging/archive.rb', line 276 def transform(*files, &block) @expanders.each { || .transform(*files, &block) } self end |