Module: IO::LikeHelpers::RubyFacts
- Included in:
- IO::Like, CharacterIO, IOWrapper
- Defined in:
- lib/io/like_helpers/ruby_facts.rb
Overview
This module provides constants that represent true/false facts about the Ruby runtime.
Constant Summary collapse
- RBVER_LT_3_4 =
Set to
trueif the runtime Ruby version is less than 3.4. Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.4')
- RBVER_LT_3_3 =
Set to
trueif the runtime Ruby version is less than 3.3. Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.3')
- RBVER_LT_3_2 =
Set to
trueif the runtime Ruby version is less than 3.2. Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.2')
- RBVER_LT_3_1 =
Set to
trueif the runtime Ruby version is less than 3.1. Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.1')
- RBVER_LT_3_0_4 =
Set to
trueif the runtime Ruby version is less than 3.0.4. Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.0.4')
- RBVER_LT_3_0 =
Set to
trueif the runtime Ruby version is less than 3.0. Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.0')