Skip to content
Browse files

fix platform test, was invalid due to order of evaluation

  • Loading branch information...
1 parent 62a9978 commit de5c7a18d8582f5cfa10962af42c5794d5d2f149 Justin Lynn committed with Gabriel Gilder Jul 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/commander/platform.rb
View
2 lib/commander/platform.rb
@@ -2,7 +2,7 @@
module Commander
module Platform
def self.jruby?
- defined? RUBY_ENGINE && RUBY_ENGINE=='jruby'
+ defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'jruby')
end
end
end

0 comments on commit de5c7a1

Please sign in to comment.
Something went wrong with that request. Please try again.