Sha256: ae45cb85701e32c7fa2703f737116f2b6e4767e38545bd032321157c62969bcd

Contents?: true

Size: 1.04 KB

Versions: 53

Compression:

Stored size: 1.04 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 Bin
    alias_method :add_element, :add
    def add_elements(*elements)
      elements.each do |element|
        add_element(element)
      end
    end
    alias_method :add, :add_elements

    def <<(element)
      add_element(element)
      self
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
gstreamer-3.0.9-x64-mingw32 lib/gst/bin.rb
gstreamer-3.0.9-x86-mingw32 lib/gst/bin.rb
gstreamer-3.0.9 lib/gst/bin.rb
gstreamer-3.0.8-x86-mingw32 lib/gst/bin.rb
gstreamer-3.0.8-x64-mingw32 lib/gst/bin.rb
gstreamer-3.0.8 lib/gst/bin.rb
gstreamer-3.0.7-x64-mingw32 lib/gst/bin.rb
gstreamer-3.0.7-x86-mingw32 lib/gst/bin.rb
gstreamer-3.0.7 lib/gst/bin.rb
gstreamer-3.0.6-x86-mingw32 lib/gst/bin.rb
gstreamer-3.0.6-x64-mingw32 lib/gst/bin.rb
gstreamer-3.0.6 lib/gst/bin.rb
gstreamer-3.0.5-x64-mingw32 lib/gst/bin.rb
gstreamer-3.0.5-x86-mingw32 lib/gst/bin.rb
gstreamer-3.0.5 lib/gst/bin.rb
gstreamer-3.0.4-x64-mingw32 lib/gst/bin.rb
gstreamer-3.0.4-x86-mingw32 lib/gst/bin.rb
gstreamer-3.0.4 lib/gst/bin.rb
gstreamer-3.0.3-x64-mingw32 lib/gst/bin.rb
gstreamer-3.0.3-x86-mingw32 lib/gst/bin.rb