Selaa lähdekoodia

Fix conditional ordering

Chris Roberts 11 vuotta sitten
vanhempi
commit
98c137ae62
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      resources/default.rb

+ 1 - 1
resources/default.rb

@@ -155,7 +155,7 @@ end
 
 # If we are using a current version of ruby, use respond_to_missing?
 # instead of respond_to? so we provide proper behavior
-if(Gem::Version.new('1.9.1') >= Gem::Version.new(RUBY_VERSION.dup))
+if(Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('1.9.1'))
   def respond_to_missing?(*args)
     super || do_i_respond_to?(*args)
   end