Class: Fargo::Download
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#nick ⇒ Object
Returns the value of attribute nick.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#percent ⇒ Object
Returns the value of attribute percent.
-
#size ⇒ Object
Returns the value of attribute size.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tth ⇒ Object
Returns the value of attribute tth.
Instance Method Summary collapse
Methods inherited from Struct
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file
2 3 4 |
# File 'lib/fargo/supports/downloads.rb', line 2 def file @file end |
#nick ⇒ Object
Returns the value of attribute nick
2 3 4 |
# File 'lib/fargo/supports/downloads.rb', line 2 def nick @nick end |
#offset ⇒ Object
Returns the value of attribute offset
2 3 4 |
# File 'lib/fargo/supports/downloads.rb', line 2 def offset @offset end |
#percent ⇒ Object
Returns the value of attribute percent.
3 4 5 |
# File 'lib/fargo/supports/downloads.rb', line 3 def percent @percent end |
#size ⇒ Object
Returns the value of attribute size
2 3 4 |
# File 'lib/fargo/supports/downloads.rb', line 2 def size @size end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/fargo/supports/downloads.rb', line 3 def status @status end |
#tth ⇒ Object
Returns the value of attribute tth
2 3 4 |
# File 'lib/fargo/supports/downloads.rb', line 2 def tth @tth end |
Instance Method Details
#file_list? ⇒ Boolean
5 6 7 |
# File 'lib/fargo/supports/downloads.rb', line 5 def file_list? file == 'files.xml.bz2' end |