Module: Guardrc
- Defined in:
- lib/guardrc/guardrc.rb,
lib/guardrc/version.rb
Constant Summary collapse
- VERSION =
"0.1"
Class Method Summary collapse
Class Method Details
.at(path) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/guardrc/guardrc.rb', line 2 def Guardrc.at(path) @path = path if File.exists?(path) File.open(@path, 'r') { |f| f.read } else "puts 'Guardrc not found: #{path} not loaded'" end end |