Class: Janitor
- Inherits:
-
Object
- Object
- Janitor
- Defined in:
- lib/janitor/janitor.rb
Class Method Summary collapse
Class Method Details
.count(pattern, path = "*") ⇒ Object
2 3 4 5 |
# File 'lib/janitor/janitor.rb', line 2 def self.count (pattern, path = "*") finder = Finder.new(path) finder.number_of_matches(pattern) end |
.hits(pattern, path = "*") ⇒ Object
7 8 9 10 |
# File 'lib/janitor/janitor.rb', line 7 def self.hits (pattern, path = "*") finder = Finder.new(path) finder.hits(pattern) end |