Class: PaginatedTable::Configuration
- Inherits:
-
Object
- Object
- PaginatedTable::Configuration
- Defined in:
- lib/paginated_table/config.rb
Instance Attribute Summary collapse
-
#rows_per_page ⇒ Object
Returns the value of attribute rows_per_page.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize {|_self| ... } ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 |
# File 'lib/paginated_table/config.rb', line 13 def initialize yield self end |
Instance Attribute Details
#rows_per_page ⇒ Object
Returns the value of attribute rows_per_page.
11 12 13 |
# File 'lib/paginated_table/config.rb', line 11 def rows_per_page @rows_per_page end |