Class: PaginatedTable::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/paginated_table/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Configuration

Returns a new instance of Configuration.

Yields:

  • (_self)

Yield Parameters:



13
14
15
# File 'lib/paginated_table/config.rb', line 13

def initialize
  yield self
end

Instance Attribute Details

#rows_per_pageObject

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