module PathSetup

Public Instance Methods

read_path() click to toggle source
# File lib/path_setup.rb, line 6
def read_path
  File.read("/Users/#{ENV['USER']}/.fis_scheduler")
end
setup_path(path) click to toggle source
# File lib/path_setup.rb, line 2
def setup_path(path)
  File.open("/Users/#{ENV['USER']}/.fis_scheduler", "w+"){ |f| f.write(path) }
end