Sha256: 187f451fa7e9d89e1d4eb74a438fe63e8bd8f369d253f07bc333a9e6cf7ab40d

Contents?: true

Size: 1.02 KB

Versions: 84

Compression:

Stored size: 1.02 KB

Contents

# Copyright (C) 2014-2015  Ruby-GNOME2 Project Team
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

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

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

Version data entries

84 entries across 84 versions & 2 rubygems

Version Path
gtk4-4.2.4 lib/gtk4/version.rb
gtk3-4.2.4 lib/gtk3/version.rb
gtk4-4.2.3 lib/gtk4/version.rb
gtk3-4.2.3 lib/gtk3/version.rb
gtk4-4.2.2 lib/gtk4/version.rb
gtk3-4.2.2 lib/gtk3/version.rb
gtk4-4.2.1 lib/gtk4/version.rb
gtk3-4.2.1 lib/gtk3/version.rb
gtk4-4.2.0 lib/gtk4/version.rb
gtk3-4.2.0 lib/gtk3/version.rb
gtk4-4.1.9 lib/gtk4/version.rb
gtk3-4.1.9 lib/gtk3/version.rb
gtk4-4.1.8 lib/gtk4/version.rb
gtk3-4.1.8 lib/gtk3/version.rb
gtk4-4.1.7 lib/gtk4/version.rb
gtk3-4.1.7 lib/gtk3/version.rb
gtk4-4.1.6 lib/gtk4/version.rb
gtk3-4.1.6 lib/gtk3/version.rb
gtk4-4.1.5 lib/gtk4/version.rb
gtk3-4.1.5 lib/gtk3/version.rb