Class: ConfigLoader::Json
Instance Attribute Summary
Attributes inherited from Base
#ext, #file_name, #file_path, #locale, #path, #root
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ConfigLoader::Base
Instance Method Details
#content ⇒ Object
5 6 7 |
# File 'lib/config_loader/json.rb', line 5 def content @content ||= JSON.parse file_content.read end |