class Xmms::Playlist::Sync

Attributes

real[R]

Public Class Methods

new(plist) click to toggle source
# File src/clients/lib/ruby/sync.rb, line 65
def initialize(plist)
        @real = plist
end

Public Instance Methods

method_missing(id, *args) click to toggle source
# File src/clients/lib/ruby/sync.rb, line 69
def method_missing(id, *args)
        ret = @real.send(id, *args)
        if(ret.is_a?(Xmms::Result))
                ret.wait.value
        elsif(ret.is_a?(Xmms::Collection))
                self
        else
                ret
        end
end