Class: Bbs::ThreadBase
- Inherits:
-
Object
- Object
- Bbs::ThreadBase
- Defined in:
- lib/bbiff/bbs_reader.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#board ⇒ Object
readonly
Returns the value of attribute board.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#last ⇒ Object
readonly
Returns the value of attribute last.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
- #dat_url ⇒ Object
-
#initialize(board, id, title, last) ⇒ ThreadBase
constructor
A new instance of ThreadBase.
Constructor Details
#initialize(board, id, title, last) ⇒ ThreadBase
Returns a new instance of ThreadBase.
197 198 199 200 201 202 |
# File 'lib/bbiff/bbs_reader.rb', line 197 def initialize(board, id, title, last) @board = board @id = id @title = title @last = last end |
Instance Attribute Details
#board ⇒ Object (readonly)
Returns the value of attribute board.
195 196 197 |
# File 'lib/bbiff/bbs_reader.rb', line 195 def board @board end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
195 196 197 |
# File 'lib/bbiff/bbs_reader.rb', line 195 def id @id end |
#last ⇒ Object (readonly)
Returns the value of attribute last.
195 196 197 |
# File 'lib/bbiff/bbs_reader.rb', line 195 def last @last end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
195 196 197 |
# File 'lib/bbiff/bbs_reader.rb', line 195 def title @title end |
Instance Method Details
#dat_url ⇒ Object
204 205 206 |
# File 'lib/bbiff/bbs_reader.rb', line 204 def dat_url @board.dat_url(@id) end |