Navigation Menu

Skip to content

Commit

Permalink
Get Mysql class from ancestors
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 31, 2012
1 parent 0d68c81 commit 8afafe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mroonga.rb
Expand Up @@ -65,7 +65,7 @@ def caveats
def build_mysql_formula
mysql = Formula.factory("mysql")
class << mysql
have_patches = (instance_method(:patches).owner == mysql.class)
have_patches = (instance_method(:patches).owner == ancestors.first)
if have_patches
def patches
file_content = path.open do |file|
Expand Down

0 comments on commit 8afafe8

Please sign in to comment.