Class: Magnet
- Inherits:
-
Object
- Object
- Magnet
- Defined in:
- lib/magnet.rb
Class Method Summary collapse
Class Method Details
.name(magnet_link) ⇒ Object
5 6 7 8 9 |
# File 'lib/magnet.rb', line 5 def self.name(magnet_link) uri = URI.parse magnet_link params = CGI::parse uri.query params["dn"].first end |