Class: RailsBootstrapHelpers::Renderers::RowLinkRenderer

Inherits:
AbstractLinkRenderer show all
Defined in:
lib/rails-bootstrap-helpers/renderers/row_link_renderer.rb

Instance Attribute Summary

Attributes inherited from Renderer

#template

Instance Method Summary collapse

Methods inherited from Renderer

#method_missing

Constructor Details

#initialize(template, *args, &block) ⇒ RowLinkRenderer

Returns a new instance of RowLinkRenderer.



3
4
5
# File 'lib/rails-bootstrap-helpers/renderers/row_link_renderer.rb', line 3

def initialize (template, *args, &block)
  super template, :link, *args, &block
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RailsBootstrapHelpers::Renderers::Renderer

Instance Method Details

#renderObject



7
8
9
10
# File 'lib/rails-bootstrap-helpers/renderers/row_link_renderer.rb', line 7

def render
  append_class "rowlink"
  super
end