Class: Zae::Files
- Inherits:
-
Object
- Object
- Zae::Files
- Defined in:
- lib/zae/files.rb
Overview
grab all configuration files
Instance Method Summary collapse
-
#all ⇒ Object
list all files found.
-
#initialize ⇒ Files
constructor
A new instance of Files.
Constructor Details
#initialize ⇒ Files
Returns a new instance of Files.
19 20 21 |
# File 'lib/zae/files.rb', line 19 def initialize @config_folder = Settings.new.config_folder end |
Instance Method Details
#all ⇒ Object
list all files found
24 25 26 |
# File 'lib/zae/files.rb', line 24 def all @config_folder.children end |