Class: Rake::FileTask
- Inherits:
-
Object
- Object
- Rake::FileTask
- Defined in:
- lib/rake-pipeline.rb
Overview
Override Rake::FileTask to make it sortable
Direct Known Subclasses
Instance Method Summary collapse
-
#<=>(other) ⇒ Fixnum
implement Ruby protocol for sorting.
Instance Method Details
#<=>(other) ⇒ Fixnum
implement Ruby protocol for sorting
44 45 46 |
# File 'lib/rake-pipeline.rb', line 44 def <=>(other) [name, prerequisites] <=> [other.name, other.prerequisites] end |