Method: Configural::Config::PlistFile#_load
- Defined in:
- lib/configural/config/plist_file.rb
#_load ⇒ Object
54 55 56 57 58 59 60 61 62 |
# File 'lib/configural/config/plist_file.rb', line 54 def _load @data = Plist.parse_xml(path) || {} rescue Errno::ENOENT @data = {} rescue Errno::EACCESS => e warn( "WARNING: Could not load config file #{path.inspect}:\n" + e.inspect + "\nUsing empty dataset instead." ) @data = {} end |