Class: Rake::AutoScalingTask
- Inherits:
-
Task
- Object
- Task
- Rake::AutoScalingTask
- Defined in:
- lib/aerosol/rake_task.rb
Instance Method Summary collapse
Instance Method Details
#auto_scaling ⇒ Object
9 10 11 |
# File 'lib/aerosol/rake_task.rb', line 9 def auto_scaling Aerosol.auto_scaling(name.split(':').last.to_sym) end |
#needed? ⇒ Boolean
5 6 7 |
# File 'lib/aerosol/rake_task.rb', line 5 def needed? !auto_scaling.exists? end |