Class: Pageflow::ViewComponent
- Inherits:
-
Arbre::Component
- Object
- Arbre::Component
- Pageflow::ViewComponent
- Defined in:
- lib/pageflow/view_component.rb
Overview
Base class for Arbre components defined by Pageflow. Store the builder method name to facilitate calling it in specs.
Direct Known Subclasses
Admin::EmbeddedIndexTable, Admin::EntriesTab, Admin::EntryPublicationStateIndicator, Admin::EntryUserBadgeList, Admin::FeaturesTab, Admin::GroupedFolderList, Admin::IconLinkTo, Admin::MembersTab, Admin::RevisionsTab, Admin::TabsView, Admin::UsersTab
Class Attribute Summary collapse
-
.builder_method_name ⇒ Object
readonly
Returns the value of attribute builder_method_name.
Class Method Summary collapse
Class Attribute Details
.builder_method_name ⇒ Object (readonly)
Returns the value of attribute builder_method_name.
6 7 8 |
# File 'lib/pageflow/view_component.rb', line 6 def builder_method_name @builder_method_name end |
Class Method Details
.builder_method(name) ⇒ Object
9 10 11 12 |
# File 'lib/pageflow/view_component.rb', line 9 def self.builder_method(name) @builder_method_name = name super end |