about summary refs log tree commit diff stats
path: root/lib/tasks
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-29 11:32:06 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-29 11:32:06 -0400
commit10599ab2e789ffb93a19f6aa3c100f533c460315 (patch)
treef49edb1c44fe698e023a73ee82c1584b328cb5de /lib/tasks
parent141f8b1a7e42928e94cccd0c8f89fdd56f8e2efe (diff)
downloadwittle-10599ab2e789ffb93a19f6aa3c100f533c460315.tar.gz
wittle-10599ab2e789ffb93a19f6aa3c100f533c460315.tar.bz2
wittle-10599ab2e789ffb93a19f6aa3c100f533c460315.zip
generate, show, solve puzzles
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/wittle_tasks.rake11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/tasks/wittle_tasks.rake b/lib/tasks/wittle_tasks.rake index 854e5c9..debf249 100644 --- a/lib/tasks/wittle_tasks.rake +++ b/lib/tasks/wittle_tasks.rake
@@ -1,4 +1,7 @@
1# desc "Explaining what the task does" 1namespace :wittle do
2# task :wittle do 2 desc "Generate new puzzles for the day"
3# # Task goes here 3 task :generate_puzzles => :environment do
4# end 4 Wittle::Puzzle.create(data: WittleGenerator.new.generate_easy, category: :normal)
5 Wittle::Puzzle.create(data: WittleGenerator.new.generate_medium, category: :hard)
6 end
7end