Class: TransmissionSimple::Torrent
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- TransmissionSimple::Torrent
- Defined in:
- lib/transmission-simple/torrent.rb
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ Torrent
constructor
A new instance of Torrent.
Constructor Details
#initialize(data = {}) ⇒ Torrent
Returns a new instance of Torrent.
3 4 5 |
# File 'lib/transmission-simple/torrent.rb', line 3 def initialize( data = {} ) super(rubyize(data)) end |