Class: RUTorrent::Label

Inherits:
Object
  • Object
show all
Defined in:
lib/rutorrent/label.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Label) initialize(array)

Returns a new instance of Label



5
6
7
# File 'lib/rutorrent/label.rb', line 5

def initialize(array)
  @label, @torrent_count = array
end

Instance Attribute Details

- (Object) label (readonly)

Returns the value of attribute label



3
4
5
# File 'lib/rutorrent/label.rb', line 3

def label
  @label
end

- (Object) torrent_count (readonly)

Returns the value of attribute torrent_count



3
4
5
# File 'lib/rutorrent/label.rb', line 3

def torrent_count
  @torrent_count
end