Class: Lctl::Finder

Inherits:
Object
  • Object
show all
Defined in:
lib/lctl/finder.rb

Instance Method Summary collapse

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

#filesObject



6
7
8
# File 'lib/lctl/finder.rb', line 6

def files
  @files ||= Dir.glob(glob, File::FNM_CASEFOLD)
end