Module: Gtk::Version

Defined in:
lib/gtk4/version.rb

Constant Summary collapse

STRING =
[MAJOR, MINOR, MICRO].join(".")

Class Method Summary collapse

Class Method Details

.or_later?(major, minor, micro = nil) ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
25
# File 'lib/gtk4/version.rb', line 22

def or_later?(major, minor, micro=nil)
  error_message = Gtk.check_version(major, minor, micro || 0)
  error_message.nil?
end