Class: TorrentFinder::Torrent

Inherits:
Struct
  • Object
show all
Defined in:
lib/torrent-finder/torrent.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/torrent-finder/torrent.rb', line 2

def name
  @name
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



2
3
4
# File 'lib/torrent-finder/torrent.rb', line 2

def url
  @url
end