class Xmms::Playlist::Async
Attributes
real[R]
Public Class Methods
new(plist)
click to toggle source
# File src/clients/lib/ruby/async.rb, line 65 def initialize(plist) @real = plist end
Public Instance Methods
method_missing(id, *args, &block)
click to toggle source
# File src/clients/lib/ruby/async.rb, line 69 def method_missing(id, *args, &block) ret = @real.send(id, *args) if(block_given? && ret.is_a?(Xmms::Result)) ret.notifier(&block) elsif(ret.is_a?(Xmms::Collection)) self else ret end end