Class: Pageflow::Admin::GroupedFolderList Private
- Inherits:
-
ViewComponent
- Object
- Arbre::Component
- ViewComponent
- Pageflow::Admin::GroupedFolderList
- Defined in:
- app/views/components/pageflow/admin/grouped_folder_list.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #folders ⇒ Object readonly private
Instance Method Summary collapse
Instance Attribute Details
#folders ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 |
# File 'app/views/components/pageflow/admin/grouped_folder_list.rb', line 7 def folders @folders end |
Instance Method Details
#build(folders, options = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'app/views/components/pageflow/admin/grouped_folder_list.rb', line 9 def build(folders, = {}) super(.slice(:class)) @folders = folders @active_id = [:active_id] build_all_link if [:grouped_by_accounts] build_folder_list_grouped_by_accounts else build_folder_list(folders) end end |