Commit fb574c4d authored by Takayuki Kamiyama's avatar Takayuki Kamiyama 🐉

Update, method tree change.

parent 39e16f9a
......@@ -3,7 +3,9 @@
require 'kconv'
# GC start message
class Star
module Star
module_function
def search
puts GC.stat
end
......
......@@ -14,27 +14,32 @@ module Engine
def search_txt
require_relative 'prop/all'
All.search
include All
search
end
def search_txi
require_relative 'prop/and'
And.search
include And
search
end
def search_txe
require_relative 'prop/not'
Not.search
include Not
search
end
def search_txs
require_relative 'prop/or'
Or.search
include Or
search
end
def search_gc
require_relative 'prop/gc'
Star.new.search
include Star
search
end
def search_druby_erb
......@@ -43,12 +48,14 @@ module Engine
def search_mail
require_relative 'prop/mail'
Mail.search
include Mail
search
end
def count_search
require_relative 'prop/count'
Count.search
include Count
search
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