Class: Buildr::ArchiveTask::Merge

Inherits:
Object
  • Object
show all
Defined in:
lib/buildr/packaging/archive.rb

Instance Method Summary collapse

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)
  @expanders = 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 { |expander| expander.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 { |expander| expander.include(*files) }
  self
end