Module: Ruby::Engine
- Defined in:
- lib/ruby-version.rb
Overview
Wraps the RUBY_ENGINE
constant. In fact, handles returning the correct value on Ruby 1.8 in the main.
Class Method Summary collapse
-
.==(value) ⇒ Boolean
Equality operator.
Class Method Details
.==(value) ⇒ Boolean
Equality operator.
34 35 36 |
# File 'lib/ruby-version.rb', line 34 def self.==(value) return self::NAME == value.to_s end |