Module: Ruby

Defined in:
lib/mark_facets/ruby/ruby.rb

Class Method Summary collapse

Class Method Details

.v18?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/mark_facets/ruby/ruby.rb', line 9

def v18?
  RUBY_VERSION.match(/^1\.8/)
end

.v19?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/mark_facets/ruby/ruby.rb', line 5

def v19?
  RUBY_VERSION.match(/^1\.9/)
end