Class: ConfigLoader::Json

Inherits:
Base
  • Object
show all
Defined in:
lib/config_loader/json.rb

Instance Attribute Summary

Attributes inherited from Base

#ext, #file_name, #file_path, #locale, #path, #root

Instance Method Summary collapse

Methods inherited from Base

#as_hash, #initialize, #load

Constructor Details

This class inherits a constructor from ConfigLoader::Base

Instance Method Details

#contentObject



5
6
7
# File 'lib/config_loader/json.rb', line 5

def content
	@content ||= JSON.parse file_content.read
end