summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/highline.rb1
-rwxr-xr-xlib/highline/question.rb1
-rw-r--r--lib/highline/wrapper.rb2
-rw-r--r--test/test_helper.rb2
4 files changed, 6 insertions, 0 deletions
diff --git a/lib/highline.rb b/lib/highline.rb
index 7612674..be5adda 100755
--- a/lib/highline.rb
+++ b/lib/highline.rb
@@ -10,6 +10,7 @@
#
# This is Free Software. See LICENSE and COPYING for details.
+require "English"
require "erb"
require "optparse"
require "stringio"
diff --git a/lib/highline/question.rb b/lib/highline/question.rb
index 4d390dc..98b3fa9 100755
--- a/lib/highline/question.rb
+++ b/lib/highline/question.rb
@@ -8,6 +8,7 @@
#
# This is Free Software. See LICENSE and COPYING for details.
+require "English"
require "optparse"
require "date"
require "pathname"
diff --git a/lib/highline/wrapper.rb b/lib/highline/wrapper.rb
index eb3c138..4b17666 100644
--- a/lib/highline/wrapper.rb
+++ b/lib/highline/wrapper.rb
@@ -1,5 +1,7 @@
# coding: utf-8
+require "English"
+
class HighLine
# A simple Wrapper module that is aware of ANSI escape codes.
# It compensates for the ANSI escape codes so it works on the
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 48c0ff0..79fa1fb 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
# coding: utf-8
+require "English"
+
# Run code coverage only for mri
require 'simplecov' if RUBY_ENGINE == 'ruby'