lib/everyday-cli-utils.rb in everyday-cli-utils-0.2.0 vs lib/everyday-cli-utils.rb in everyday-cli-utils-0.2.1
- old
+ new
@@ -1,9 +1,13 @@
require_relative 'everyday-cli-utils/version'
module EverydayCliUtils
AVAILABLE_MODULES = [:ask, :format, :format_safe, :histogram, :histogram_safe, :kmeans, :kmeans_safe, :maputil, :maputil_safe, :mycurses, :option]
+ def import(*names)
+ EverydayCliUtils.import(*names)
+ end
+
def self.import(*names)
names.each { |name|
case (name)
when :ask
require_relative 'everyday-cli-utils/ask'