lib/commander/platform.rb in commander-4.0.4 vs lib/commander/platform.rb in commander-4.0.5

- old
+ new

@@ -1,8 +1,8 @@ module Commander module Platform def self.jruby? - defined? RUBY_ENGINE && RUBY_ENGINE=='jruby' + defined?(RUBY_ENGINE) && (RUBY_ENGINE == 'jruby') end end end