Class: Tableficate::ActionColumn

Inherits:
Column
  • Object
show all
Defined in:
lib/tableficate/action_column.rb

Instance Attribute Summary

Attributes inherited from Column

#attrs, #cell_attrs, #header, #header_attrs, #name, #table

Instance Method Summary collapse

Methods inherited from Column

#value

Constructor Details

#initialize(table, options = {}, &block) ⇒ ActionColumn

Returns a new instance of ActionColumn.



3
4
5
# File 'lib/tableficate/action_column.rb', line 3

def initialize(table, options = {}, &block)
  super(table, '', options, &block)
end

Instance Method Details

#is_sorted?(dir = nil) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/tableficate/action_column.rb', line 11

def is_sorted?(dir = nil)
  false
end

#show_sort?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/tableficate/action_column.rb', line 7

def show_sort?
  false
end