Class: Rake::Ivy::Tasks
- Inherits:
-
TaskLib
- Object
- TaskLib
- Rake::Ivy::Tasks
- Defined in:
- lib/rake/ivy_extension.rb
Instance Method Summary collapse
-
#initialize(ivy = nil) {|@ivy| ... } ⇒ Tasks
constructor
A new instance of Tasks.
Constructor Details
#initialize(ivy = nil) {|@ivy| ... } ⇒ Tasks
Returns a new instance of Tasks.
293 294 295 296 297 298 299 |
# File 'lib/rake/ivy_extension.rb', line 293 def initialize(ivy = nil, &block) @ivy = ivy || Rake::Ivy::IvyConfig.new(Rake.application) yield @ivy if block_given? Rake.application.ivy = @ivy define end |