lib/acts_as_data_table/sortable_columns/renderers/default.rb
def to_html
            if @sortable.active
              caption_link + ' ' + direction_link
            else
              caption_link
            end
          end
#
# Generates the actual HTML (= caption and direction links)
# to be embedded into the view
#
# @return [String] the generated HTML code
#
Generates the actual HTML (= caption and direction links)
to be embedded into the view
Generates the actual HTML ( = caption and direction links ) to be embedded into the view
def to_html
            if @sortable.active
              caption_link + ' ' + direction_link
            else
              caption_link
            end
          end
def to_html if @sortable . active caption_link + ' ' + direction_link else caption_link end end
Generates the actual HTML (= caption and direction links)
to be embedded into the view
Generates the actual HTML ( = caption and direction links ) to be embedded into the view
the generated HTML code
the generated HTML code
String