Sha256: 2613622ac86d89794a15351db6de836e061ac059dd7ff2f3f10ec1a76a7f9899
Contents?: true
Size: 1.12 KB
Versions: 44
Compression:
Stored size: 1.12 KB
Contents
# Copyright (C) 2013 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 class Caps class << self def any caps = allocate caps.__send__(:initialize_new_any) caps end def empty caps = allocate caps.__send__(:initialize_new_empty) caps end end def structures size.times.collect do |i| get_structure(i) end end end end
Version data entries
44 entries across 44 versions & 1 rubygems