Class: Lctl::Finder
- Inherits:
-
Object
- Object
- Lctl::Finder
- Defined in:
- lib/lctl/finder.rb
Instance Method Summary collapse
- #files ⇒ Object
-
#initialize(name) ⇒ Finder
constructor
A new instance of Finder.
Constructor Details
#initialize(name) ⇒ Finder
Returns a new instance of Finder.
2 3 4 |
# File 'lib/lctl/finder.rb', line 2 def initialize(name) @name = name end |
Instance Method Details
#files ⇒ Object
6 7 8 |
# File 'lib/lctl/finder.rb', line 6 def files @files ||= Dir.glob(glob, File::FNM_CASEFOLD) end |