Class: Timetrap::AutoSheets::Dotfiles
- Inherits:
-
Object
- Object
- Timetrap::AutoSheets::Dotfiles
- Defined in:
- lib/timetrap/auto_sheets/dotfiles.rb
Instance Method Summary collapse
Instance Method Details
#sheet ⇒ Object
4 5 6 7 |
# File 'lib/timetrap/auto_sheets/dotfiles.rb', line 4 def sheet dotfile = File.join(Dir.pwd, '.timetrap-sheet') File.read(dotfile).chomp if File.exist?(dotfile) end |