Sha256: 258607adfaf0db72ad5f7f23fba69c1e8dbb538011b9d74c9753ee9b6d2c7884
Contents?: true
Size: 1.17 KB
Versions: 121
Compression:
Stored size: 1.17 KB
Contents
# Copyright (C) 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 Gst module Version MAJOR, MINOR, MICRO, NANO = Gst.version STRING = "#{MAJOR}.#{MINOR}.#{MICRO}.#{NANO}" class << self def or_later?(major, minor, micro=nil, nano=nil) micro ||= 0 nano ||= 0 version = [ MAJOR, MINOR, MICRO, NANO, ] (version <=> [major, minor, micro, nano]) >= 0 end end end end
Version data entries
121 entries across 121 versions & 1 rubygems