Module: DirectoryWatcher::Version

Extended by:
Version
Included in:
DirectoryWatcher, Version
Defined in:
lib/directory_watcher/version.rb

Instance Method Summary collapse

Instance Method Details

#versionObject



3
4
5
# File 'lib/directory_watcher/version.rb', line 3

def version
  File.read(DirectoryWatcher.path('version.txt')).strip
end