File: ruby.rbs

package info (click to toggle)
ruby-version-gem 1.1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 268 kB
  • sloc: ruby: 184; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
module VersionGem
  module Ruby
    RUBY_VER: ::Gem::Version

    # Check if the current Ruby version is >= given version for the engine
    def self.gte_minimum_version?: (String, ?String) -> bool

    # Check if the current Ruby MAJOR.MINOR equals the given values for the engine
    def self.actual_minor_version?: ((Integer | String), (Integer | String), ?String) -> bool
  end
end