Remove load_model! method (we use make_model!)

This commit is contained in:
Joel McCoy
2015-01-21 15:26:41 -05:00
parent 500ece05bf
commit 1576d83577
2 changed files with 10 additions and 10 deletions

10
bots.rb
View File

@@ -225,16 +225,6 @@ class BoodooBot
text = obscure_curses(text)
super(ev, text, opts)
end
private
def load_model!
return if @model
@model_path ||= "model/#{original}.model"
log "Loading model #{model_path}"
@model = Ebooks::Model.load(model_path)
end
end
BoodooBot.new(SETTINGS['BOT_NAME']) do |bot|