Navigation Menu

Skip to content

Commit

Permalink
Fix scope
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 31, 2012
1 parent cdbba92 commit 0d68c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mroonga.rb
Expand Up @@ -64,8 +64,8 @@ def caveats
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|
Expand Down

0 comments on commit 0d68c81

Please sign in to comment.