Class: ActiveAdmin::Favorites::ViewLens::Current
- Inherits:
-
ActiveSupport::CurrentAttributes
- Object
- ActiveSupport::CurrentAttributes
- ActiveAdmin::Favorites::ViewLens::Current
- Defined in:
- lib/activeadmin/favorites/view_lens/current.rb
Instance Method Summary collapse
- #block_column_sequence ⇒ Object
- #registered_columns ⇒ Object
- #registered_panels ⇒ Object
- #registered_rows ⇒ Object
Instance Method Details
#block_column_sequence ⇒ Object
22 23 24 |
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 22 def block_column_sequence super || self.block_column_sequence = Hash.new(0) end |
#registered_columns ⇒ Object
10 11 12 |
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 10 def registered_columns super || self.registered_columns = Hash.new { |hash, key| hash[key] = [] } end |
#registered_panels ⇒ Object
14 15 16 |
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 14 def registered_panels super || self.registered_panels = Hash.new { |hash, key| hash[key] = [] } end |
#registered_rows ⇒ Object
18 19 20 |
# File 'lib/activeadmin/favorites/view_lens/current.rb', line 18 def registered_rows super || self.registered_rows = Hash.new { |hash, key| hash[key] = [] } end |