lib/lotus/utils.rb in lotus-utils-0.3.1 vs lib/lotus/utils.rb in lotus-utils-0.3.2
- old
+ new
@@ -3,32 +3,32 @@
module Lotus
# Ruby core extentions and Lotus utilities
#
# @since 0.1.0
module Utils
- # @since x.x.x
+ # @since 0.3.1
# @api private
LOTUS_JRUBY = 'java'.freeze
- # @since x.x.x
+ # @since 0.3.1
# @api private
LOTUS_RUBINIUS = 'rbx'.freeze
# Checks if the current VM is JRuby
#
# @return [TrueClass,FalseClass] return if the VM is JRuby or not
#
- # @since x.x.x
+ # @since 0.3.1
# @api private
def self.jruby?
RUBY_PLATFORM == LOTUS_JRUBY
end
# Checks if the current VM is Rubinius
#
# @return [TrueClass,FalseClass] return if the VM is Rubinius or not
#
- # @since x.x.x
+ # @since 0.3.1
# @api private
def self.rubinius?
RUBY_ENGINE == LOTUS_RUBINIUS
end
end