class TTWatcher::TorrentList::UnexpectedClass

See TorrentList#push description.

Public Class Methods

new(obj) click to toggle source
Calls superclass method
# File sources/ttwatcher/torrent_list.rb, line 49
def initialize(obj); super "Object #{obj} cannot being pushed into TorrentList, since it's '#{obj.class}' class when only TorrentList/Torrent instances can be pushed"; end