Provides static helper methods around determining what environment is running without polluting the global namespace.
@since 2.0.0
Determine if we are using JRuby or not.
@example Are we running with JRuby?
Environment.jruby?
@return [ true, false ] If JRuby is our vm.
# File lib/bson/environment.rb, line 32 def jruby? defined?(JRUBY_VERSION) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.