Commit 8da9f327 authored by Takayuki Kamiyama's avatar Takayuki Kamiyama 🐉

Update, require one method.

parent f23a0f2c
......@@ -12,16 +12,10 @@ Encoding.default_internal = 'UTF-8'
module MiniTestOne
module_function
def mini_test_version
require_relative 'mini_test/mini_test_version'
end
def mini_test_search
require_relative 'mini_test/mini_test_search'
end
def mini_test_helper
require_relative 'mini_test/test_helper'
def mini_test
Dir[File.dirname(__FILE__) + '/mini_test/*.rb'].each do |file|
require file
end
end
end
......@@ -37,9 +31,7 @@ class MiniFile < MiniFilename
include MiniTestOne
def enter
MiniTestOne.mini_test_helper
MiniTestOne.mini_test_version
MiniTestOne.mini_test_search
MiniTestOne.mini_test
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment