module SuperTable::ViewHelpers

Public Class Methods

included(base) click to toggle source
# File lib/super_table/view_helpers.rb, line 36
def self.included(base)
  base.include ::ActionView::Context
  base.include ::ActionView::Helpers
end

Public Instance Methods

del(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 28
def del(*args, &block)
  content_tag(:del, *args, &block)
end
div(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 20
def div(*args, &block)
  content_tag(:div, *args, &block)
end
small(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 24
def small(*args, &block)
  content_tag(:small, *args, &block)
end
span(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 32
def span(*args, &block)
  content_tag(:span, *args, &block)
end
strong(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 16
def strong(*args, &block)
  content_tag(:strong, *args, &block)
end
td(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 4
def td(*args, &block)
  content_tag(:td, *args, &block)
end
th(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 12
def th(*args, &block)
  content_tag(:th, *args, &block)
end
tr(*args, &block) click to toggle source
# File lib/super_table/view_helpers.rb, line 8
def tr(*args, &block)
  content_tag(:tr, *args, &block)
end