hyperestrainer: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 22:32:15 -08:00
parent bf9d0d7715
commit 730f82b5f5

View file

@ -4,7 +4,7 @@ class EucjpMecabIpadic < Requirement
fatal true
def initialize
@mecab_ipadic_installed = Formula.factory('mecab-ipadic').installed?
@mecab_ipadic_installed = Formula['mecab-ipadic'].installed?
end
satisfy { @mecab_ipadic_installed && mecab_dic_charset == 'euc' }