Class: Rake::Funnel::Tasks::Timing
- Inherits:
-
TaskLib
- Object
- TaskLib
- Rake::Funnel::Tasks::Timing
- Includes:
- Support::Timing
- Defined in:
- lib/rake/funnel/tasks/timing.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#stats ⇒ Object
readonly
Returns the value of attribute stats.
Instance Method Summary collapse
-
#initialize(*args, &task_block) ⇒ Timing
constructor
A new instance of Timing.
- #reset! ⇒ Object
Constructor Details
#initialize(*args, &task_block) ⇒ Timing
Returns a new instance of Timing.
12 13 14 15 16 |
# File 'lib/rake/funnel/tasks/timing.rb', line 12 def initialize(*args, &task_block) setup_ivars(args) define(args, &task_block) end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/rake/funnel/tasks/timing.rb', line 9 def name @name end |
#stats ⇒ Object (readonly)
Returns the value of attribute stats.
10 11 12 |
# File 'lib/rake/funnel/tasks/timing.rb', line 10 def stats @stats end |
Instance Method Details
#reset! ⇒ Object
18 19 20 |
# File 'lib/rake/funnel/tasks/timing.rb', line 18 def reset! patches.each(&:revert!) end |