Class: Gitenv::OneFile
- Inherits:
-
FilesMatcher
- Object
- FilesMatcher
- Gitenv::OneFile
- Defined in:
- lib/gitenv/files/one_file.rb
Instance Method Summary collapse
- #files(_path) ⇒ Object
-
#initialize(file, options = {}) ⇒ OneFile
constructor
A new instance of OneFile.
Methods inherited from FilesMatcher
Constructor Details
#initialize(file, options = {}) ⇒ OneFile
Returns a new instance of OneFile.
3 4 5 6 |
# File 'lib/gitenv/files/one_file.rb', line 3 def initialize(file, = {}) super @file = file end |
Instance Method Details
#files(_path) ⇒ Object
8 9 10 |
# File 'lib/gitenv/files/one_file.rb', line 8 def files(_path) [@file] end |