Class: Greentext::Board
Overview
Public: (Model) A 4chan board.
Instance Attribute Summary collapse
-
#board ⇒ Object
readonly
Returns the value of attribute board.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#pages ⇒ Object
readonly
Returns the value of attribute pages.
-
#per_page ⇒ Object
readonly
Returns the value of attribute per_page.
-
#posts_per_page ⇒ Object
readonly
Returns the value of attribute posts_per_page.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
attr_epoch, attr_predicate, attr_reader, #initialize
Constructor Details
This class inherits a constructor from Greentext::Base
Instance Attribute Details
#board ⇒ Object (readonly)
Returns the value of attribute board.
6 7 8 |
# File 'lib/greentext/board.rb', line 6 def board @board end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/greentext/board.rb', line 6 def name @name end |
#pages ⇒ Object (readonly)
Returns the value of attribute pages.
9 10 11 |
# File 'lib/greentext/board.rb', line 9 def pages @pages end |
#per_page ⇒ Object (readonly)
Returns the value of attribute per_page.
8 9 10 |
# File 'lib/greentext/board.rb', line 8 def per_page @per_page end |
#posts_per_page ⇒ Object (readonly)
Returns the value of attribute posts_per_page.
8 9 10 |
# File 'lib/greentext/board.rb', line 8 def posts_per_page @posts_per_page end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
7 8 9 |
# File 'lib/greentext/board.rb', line 7 def title @title end |