Class: Timetrap::AutoSheets::Dotfiles

Inherits:
Object
  • Object
show all
Defined in:
lib/timetrap/auto_sheets/dotfiles.rb

Instance Method Summary collapse

Instance Method Details

#sheetObject



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