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