Class: Buildr::CCTask

Inherits:
Rake::Task show all
Defined in:
lib/buildr/core/cc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Rake::Task

#invoke, #invoke_with_call_chain

Constructor Details

#initialize(*args) ⇒ CCTask

Returns a new instance of CCTask.



26
27
28
29
30
31
32
# File 'lib/buildr/core/cc.rb', line 26

def initialize(*args)
  super
  @delay = 0.2
  enhance do
    monitor_and_compile
  end
end

Instance Attribute Details

#delayObject

Returns the value of attribute delay.



23
24
25
# File 'lib/buildr/core/cc.rb', line 23

def delay
  @delay
end

#projectObject (readonly)

Returns the value of attribute project.



24
25
26
# File 'lib/buildr/core/cc.rb', line 24

def project
  @project
end