Class: Pageflow::Admin::IconLinkTo Private
- Inherits:
-
ViewComponent
- Object
- Arbre::Component
- ViewComponent
- Pageflow::Admin::IconLinkTo
- Defined in:
- app/views/components/pageflow/admin/icon_link_to.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 Method Summary collapse
- #build(path, options = {}) ⇒ Object private
- #tag_name ⇒ Object private
Instance Method Details
#build(path, 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.
7 8 9 |
# File 'app/views/components/pageflow/admin/icon_link_to.rb', line 7 def build(path, = {}) text_node(link_to(tooltip_span(), path, class: [:class])) end |
#tag_name ⇒ 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.
11 12 13 |
# File 'app/views/components/pageflow/admin/icon_link_to.rb', line 11 def tag_name 'span' end |