Class: Pageflow::LinkmapPage::AreasHelper::Link

Inherits:
Struct
  • Object
show all
Defined in:
app/helpers/pageflow/linkmap_page/areas_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



59
60
61
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59

def attributes
  @attributes
end

#background_typeObject

Returns the value of attribute background_type

Returns:

  • (Object)

    the current value of background_type



59
60
61
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59

def background_type
  @background_type
end

#entryObject

Returns the value of attribute entry

Returns:

  • (Object)

    the current value of entry



59
60
61
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59

def entry
  @entry
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



59
60
61
# File 'app/helpers/pageflow/linkmap_page/areas_helper.rb', line 59

def index
  @index
end

#templateObject

Returns the value of attribute template

Returns:

  • (Object)

    the current value of 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)
  (:a,
              '',
              href: href,
              target: target,
              class: css_classes,
              style: inline_styles,
              data: data_attributes,
              &block)
end