Module: ConfigSL::FileSupport
- Defined in:
- lib/configsl/file_support.rb
Overview
Support for common file operations.
This module provides limited functionality itself, but instead provides basic support for configuration files that is leveraged by other modules.
Including this modules adds the following DSL methods to your class:
-
config_file_path: Set the default path to look for configuration files
-
config_file_name: Set the default file name to look for configuration files, without extension
-
register_file_format: Add support for a file format
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
19 20 21 |
# File 'lib/configsl/file_support.rb', line 19 def self.included(base) base.extend(ClassMethods) end |