Class: Dooby::Base

Inherits:
Object show all
Defined in:
lib/dooby/base.rb

Class Method Summary collapse

Class Method Details

.create_fileObject



5
6
7
8
9
# File 'lib/dooby/base.rb', line 5

def self.create_file
  dooby_file = File.new CURRENT_TODO_LIST_FILE, "w+"
  puts "Created a new todo list inside this directory" if dooby_file
  dooby_file.close
end