Module: Warbler::RakeHelper

Included in:
Application, Config, Jar, Task, Traits::War
Defined in:
lib/warbler/rake_helper.rb

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



18
19
20
21
# File 'lib/warbler/rake_helper.rb', line 18

def self.extended(base)
  base.extend Rake::DSL if defined?(Rake::DSL)
  base.extend Rake::FileUtilsExt
end

.included(base) ⇒ Object



11
12
13
14
15
16
# File 'lib/warbler/rake_helper.rb', line 11

def self.included(base)
  base.class_eval do
    include Rake::DSL if defined?(Rake::DSL)
    include Rake::FileUtilsExt # includes FileUtils
  end
end