Permalink
Browse files

Added explicit .to_s to work around Ruby 1.9 compat issue

  • Loading branch information...
1 parent 6516d58 commit 4549f0c727807d94211f2900ca335c707b057346 @ddemaree ddemaree committed Jul 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 merb-core/lib/merb-core/dispatch/router/behavior.rb
@@ -15,7 +15,7 @@ class Proxy
# Undefine as many methods as possible so that everything can be proxied
# along to the behavior
- instance_methods.each { |m| undef_method m unless %w[ __id__ __send__ class kind_of? respond_to? assert_kind_of should should_not instance_variable_set instance_variable_get instance_eval].include?(m) }
+ instance_methods.each { |m| undef_method m unless %w[ __id__ __send__ class kind_of? respond_to? assert_kind_of should should_not instance_variable_set instance_variable_get instance_eval].include?(m.to_s) }
# :api: private
def initialize

0 comments on commit 4549f0c

Please sign in to comment.