Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix platform test, was invalid due to order of evaluation

  • Loading branch information...
commit de5c7a18d8582f5cfa10962af42c5794d5d2f149 1 parent 62a9978
Justin Lynn authored Gabriel Gilder committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.