Kouhei Sutou
null+****@clear*****
Fri Aug 31 18:29:30 JST 2012
Kouhei Sutou 2012-08-31 18:29:30 +0900 (Fri, 31 Aug 2012) New Revision: 0d68c8178c94c1d56bd1fb8aa506aeff14f84494 https://github.com/mroonga/homebrew/commit/0d68c8178c94c1d56bd1fb8aa506aeff14f84494 Log: Fix scope Modified files: mroonga.rb Modified: mroonga.rb (+1 -1) =================================================================== --- mroonga.rb 2012-08-31 18:27:22 +0900 (2eb4c36) +++ mroonga.rb 2012-08-31 18:29:30 +0900 (bcc1266) @@ -64,8 +64,8 @@ class Mroonga < Formula private def build_mysql_formula mysql = Formula.factory("mysql") - have_patches = (mysql.method(:patches).owner == mysql.class) class << mysql + have_patches = (instance_method(:patches).owner == mysql.class) if have_patches def patches file_content = path.open do |file| -------------- next part -------------- HTML����������������������������...Download