summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlotte Koch <charlotte@magentastripe.com>2024-07-16 11:20:03 -0700
committerCharlotte Koch <charlotte@magentastripe.com>2024-07-16 11:20:03 -0700
commit74b2efbadf0aed9a20ff36445b09454fa6311d40 (patch)
tree919c092441808e8b06d6b024fe43448c2f0a44f0
parente67326df41041ee6946e20ea8ddda30c22536a2e (diff)
The Willora class needs fileutils and erb, not the CLI tool
-rwxr-xr-xbin/willora2
-rw-r--r--lib/willora/willora.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/willora b/bin/willora
index 37591b0..bb3b152 100755
--- a/bin/willora
+++ b/bin/willora
@@ -4,8 +4,6 @@
# Charlotte Koch <charlotte@magentastripe.com>
#
-require 'erb'
-require 'fileutils'
require 'optparse'
$LOAD_PATH.unshift File.join(__dir__, "..", "lib")
diff --git a/lib/willora/willora.rb b/lib/willora/willora.rb
index ad8ef98..e13144e 100644
--- a/lib/willora/willora.rb
+++ b/lib/willora/willora.rb
@@ -1,3 +1,6 @@
+require 'erb'
+require 'fileutils'
+
class Willora
VERSION = "0.0.0a"
DEFAULT_TITLE = "My Cool Book"