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.
200 201 202 203 204 205 |
# File 'lib/bbiff/bbs_reader.rb', line 200 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.
198 199 200 |
# File 'lib/bbiff/bbs_reader.rb', line 198 def board @board end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
198 199 200 |
# File 'lib/bbiff/bbs_reader.rb', line 198 def id @id end |
#last ⇒ Object (readonly)
Returns the value of attribute last.
198 199 200 |
# File 'lib/bbiff/bbs_reader.rb', line 198 def last @last end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
198 199 200 |
# File 'lib/bbiff/bbs_reader.rb', line 198 def title @title end |
Instance Method Details
#dat_url ⇒ Object
207 208 209 |
# File 'lib/bbiff/bbs_reader.rb', line 207 def dat_url @board.dat_url(@id) end |