Class: Cuporter::Node::Types::Dir
- Includes:
- FileSystemNode
- Defined in:
- lib/cuporter/node/types.rb
Instance Method Summary collapse
Methods included from FileSystemNode
Instance Method Details
#<=>(other) ⇒ Object
66 67 68 69 |
# File 'lib/cuporter/node/types.rb', line 66 def <=>(other) return -1 if other.is_a? File # ensure folders sort higher fs_name <=> (other['fs_name'] || other['cuke_name']) end |