Permalink
Browse files

fix VERSION

  • Loading branch information...
1 parent b4cab67 commit e887061515fd8652e8058ccd13996872efcd36a7 @rkh rkh committed Aug 22, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/sinatra/contrib/version.rb
@@ -32,7 +32,8 @@ def self.inspect
end
def self.respond_to?(meth, *)
- meth.to_s !~ /^__|^to_str$/ and STRING.respond_to? meth unless super
+ return true if super
+ meth.to_s !~ /^__|^to_str$/ and STRING.respond_to? meth
end
def self.method_missing(meth, *args, &block)

0 comments on commit e887061

Please sign in to comment.