Class: Pageflow::LinkmapPage::AreasHelper::Link
- Inherits:
-
Struct
- Object
- Struct
- Pageflow::LinkmapPage::AreasHelper::Link
- Defined in:
- app/helpers/pageflow/linkmap_page/areas_helper.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#background_type ⇒ Object
Returns the value of attribute background_type.
-
#entry ⇒ Object
Returns the value of attribute entry.
-
#index ⇒ Object
Returns the value of attribute index.
-
#template ⇒ Object
Returns the value of attribute template.
Instance Method Summary collapse
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
59 60 61 |
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59 def attributes @attributes end |
#background_type ⇒ Object
Returns the value of attribute background_type
59 60 61 |
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59 def background_type @background_type end |
#entry ⇒ Object
Returns the value of attribute entry
59 60 61 |
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59 def entry @entry end |
#index ⇒ Object
Returns the value of attribute index
59 60 61 |
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59 def index @index end |
#template ⇒ Object
Returns the value of attribute template
59 60 61 |
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59 def template @template end |
Instance Method Details
#render(&block) ⇒ Object
62 63 64 65 66 67 68 69 70 71 |
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 62 def render(&block) content_tag(:a, '', href: href, target: target, class: css_classes, style: inline_styles, data: data_attributes, &block) end |