Module: SuperTable::ViewHelpers

Included in:
Builder, Record, Tableable
Defined in:
lib/super_table/view_helpers.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



36
37
38
39
# File 'lib/super_table/view_helpers.rb', line 36

def self.included(base)
  base.include ::ActionView::Context
  base.include ::ActionView::Helpers
end

Instance Method Details

#del(*args, &block) ⇒ Object



28
29
30
# File 'lib/super_table/view_helpers.rb', line 28

def del(*args, &block)
  (:del, *args, &block)
end

#div(*args, &block) ⇒ Object



20
21
22
# File 'lib/super_table/view_helpers.rb', line 20

def div(*args, &block)
  (:div, *args, &block)
end

#small(*args, &block) ⇒ Object



24
25
26
# File 'lib/super_table/view_helpers.rb', line 24

def small(*args, &block)
  (:small, *args, &block)
end

#span(*args, &block) ⇒ Object



32
33
34
# File 'lib/super_table/view_helpers.rb', line 32

def span(*args, &block)
  (:span, *args, &block)
end

#strong(*args, &block) ⇒ Object



16
17
18
# File 'lib/super_table/view_helpers.rb', line 16

def strong(*args, &block)
  (:strong, *args, &block)
end

#td(*args, &block) ⇒ Object



4
5
6
# File 'lib/super_table/view_helpers.rb', line 4

def td(*args, &block)
  (:td, *args, &block)
end

#th(*args, &block) ⇒ Object



12
13
14
# File 'lib/super_table/view_helpers.rb', line 12

def th(*args, &block)
  (:th, *args, &block)
end

#tr(*args, &block) ⇒ Object



8
9
10
# File 'lib/super_table/view_helpers.rb', line 8

def tr(*args, &block)
  (:tr, *args, &block)
end