Module: Gdk::Version
- Defined in:
- lib/gdk4/version.rb
Constant Summary collapse
- STRING =
"#{MAJOR}.#{MINOR}.#{MICRO}"
Class Method Summary collapse
Class Method Details
.or_later?(major, minor, micro = nil) ⇒ Boolean
21 22 23 24 |
# File 'lib/gdk4/version.rb', line 21 def or_later?(major, minor, micro=nil) micro ||= 0 ([MAJOR, MINOR, MICRO] <=> [major, minor, micro]) >= 0 end |