diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-29 11:32:06 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-29 11:32:06 -0400 |
commit | 10599ab2e789ffb93a19f6aa3c100f533c460315 (patch) | |
tree | f49edb1c44fe698e023a73ee82c1584b328cb5de /lib/tasks/wittle_tasks.rake | |
parent | 141f8b1a7e42928e94cccd0c8f89fdd56f8e2efe (diff) | |
download | wittle-10599ab2e789ffb93a19f6aa3c100f533c460315.tar.gz wittle-10599ab2e789ffb93a19f6aa3c100f533c460315.tar.bz2 wittle-10599ab2e789ffb93a19f6aa3c100f533c460315.zip |
generate, show, solve puzzles
Diffstat (limited to 'lib/tasks/wittle_tasks.rake')
-rw-r--r-- | lib/tasks/wittle_tasks.rake | 11 |
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" | 1 | namespace :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 | ||
7 | end | ||