Class: Buildr::ArchiveTask::Merge
- Defined in:
- lib/buildr/packaging/archive.rb
Instance Method Summary collapse
- #exclude(*files) ⇒ Object
- #include(*files) ⇒ Object (also: #<<)
-
#initialize(expanders) ⇒ Merge
constructor
A new instance of Merge.
Constructor Details
#initialize(expanders) ⇒ Merge
Returns a new instance of Merge.
220 221 222 |
# File 'lib/buildr/packaging/archive.rb', line 220 def initialize() @expanders = end |
Instance Method Details
#exclude(*files) ⇒ Object
230 231 232 233 |
# File 'lib/buildr/packaging/archive.rb', line 230 def exclude(*files) @expanders.each { || .exclude(*files) } self end |
#include(*files) ⇒ Object Also known as: <<
224 225 226 227 |
# File 'lib/buildr/packaging/archive.rb', line 224 def include(*files) @expanders.each { || .include(*files) } self end |