Class: Timmy::ConfigLoader
- Inherits:
-
Object
- Object
- Timmy::ConfigLoader
- Defined in:
- lib/timmy/config_loader.rb
Class Method Summary collapse
Class Method Details
.load ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/timmy/config_loader.rb', line 4 def load home = Dir.home() config = File.join(home, ".timmy.rb") if File.exists?(config) eval(File.read(config)) end end |