Class: Pic2ch::Thread::Static
- Inherits:
-
Pic2ch::Thread
- Object
- Struct
- Pic2ch::Thread
- Pic2ch::Thread::Static
- Defined in:
- lib/pic2ch/thread/static.rb
Instance Attribute Summary
Attributes inherited from Pic2ch::Thread
Instance Method Summary collapse
-
#initialize(code) ⇒ Static
constructor
A new instance of Static.
Methods inherited from Pic2ch::Thread
#code, #download, #downloader, #parser, #url
Constructor Details
#initialize(code) ⇒ Static
4 5 6 7 |
# File 'lib/pic2ch/thread/static.rb', line 4 def initialize(code) @code = code.to_i @url = self.class.url + "/thread/#{@code}" end |