module Ruby::Engine
Wraps the RUBY_ENGINE
constant. In fact, handles returning the correct value on Ruby
1.8 in the main.
Constants
- NAME
Public Class Methods
==(value)
click to toggle source
Equality operator.
@param [String, Symbol] value engine identifier @return [Boolean] true
if yes, +false otherwise
# File lib/ruby-version.rb, line 34 def self.==(value) return self::NAME == value.to_s end