Class: Bosh::Agent::FileMatcher
- Inherits:
-
Object
- Object
- Bosh::Agent::FileMatcher
show all
- Defined in:
- lib/bosh_agent/file_matcher.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(base_dir) ⇒ FileMatcher
8
9
10
|
# File 'lib/bosh_agent/file_matcher.rb', line 8
def initialize(base_dir)
@base_dir = base_dir
end
|
Instance Attribute Details
16
17
18
|
# File 'lib/bosh_agent/file_matcher.rb', line 16
def globs
@globs || default_globs
end
|
Instance Method Details
12
13
14
|
# File 'lib/bosh_agent/file_matcher.rb', line 12
def base_dir
@base_dir
end
|
#default_globs ⇒ Object
20
21
22
|
# File 'lib/bosh_agent/file_matcher.rb', line 20
def default_globs
[]
end
|