Class: Globby::Result
- Inherits:
-
Array
- Object
- Array
- Globby::Result
- Defined in:
- lib/globby/result.rb
Instance Method Summary collapse
-
#initialize(files, dirs) ⇒ Result
constructor
A new instance of Result.
- #reject(patterns) ⇒ Object
- #select(patterns) ⇒ Object
- #to_globject ⇒ Object
Constructor Details
#initialize(files, dirs) ⇒ Result
Returns a new instance of Result.
3 4 5 6 |
# File 'lib/globby/result.rb', line 3 def initialize(files, dirs) @dirs = dirs super files.sort end |