Class: AppKit::Views::Dashboard
- Defined in:
- lib/app_kit/views/dashboard.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize ⇒ Dashboard
constructor
A new instance of Dashboard.
- #table(resource, options = {}, &block) ⇒ Object
Constructor Details
#initialize ⇒ Dashboard
Returns a new instance of Dashboard.
3 4 5 |
# File 'lib/app_kit/views/dashboard.rb', line 3 def initialize @items = [] end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
2 3 4 |
# File 'lib/app_kit/views/dashboard.rb', line 2 def items @items end |
Instance Method Details
#table(resource, options = {}, &block) ⇒ Object
6 7 8 9 |
# File 'lib/app_kit/views/dashboard.rb', line 6 def table(resource, ={}, &block) [:filter] = false super(resource, , &block) end |