Class: ConfigLoader::Yaml

Inherits:
Base
  • Object
show all
Defined in:
lib/config_loader/yaml.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/yaml.rb', line 5

def content
	@content ||= ::YAML::load file_content
end