Class: CustomLogs::ParseConfig
- Inherits:
-
Object
- Object
- CustomLogs::ParseConfig
- Defined in:
- lib/custom_logs/parse_config.rb
Constant Summary collapse
- @@config =
nil
Class Method Summary collapse
Class Method Details
.get ⇒ Object
8 9 10 |
# File 'lib/custom_logs/parse_config.rb', line 8 def get @@config ||= YAML.load_file('config/custom_logs.yml')[Rails.env].with_indifferent_access end |