Method: #try_load
- Defined in:
- lib/mysql_backup/extensions.rb
#try_load(paths) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/mysql_backup/extensions.rb', line 11 def try_load(paths) Array.from(paths).each do |path| result = try_load_file path return result if !result.nil? end return nil end |