Class: Sortiri::MissingColumn
- Inherits:
-
Column
- Object
- Column
- Sortiri::MissingColumn
show all
- Defined in:
- lib/sortiri/missing_column.rb
Constant Summary
Constants inherited
from Column
Column::ASCENDING_SIGN, Column::ASCENDING_SQL, Column::ASSOCIATION_DELIMITER, Column::DESCENDING_SIGN, Column::DESCENDING_SQL
Instance Attribute Summary
Attributes inherited from Column
#name_with_sign
Instance Method Summary
collapse
Methods inherited from Column
#association, #name, #name_with_association
Constructor Details
Returns a new instance of MissingColumn.
5
6
7
|
# File 'lib/sortiri/missing_column.rb', line 5
def initialize
super(column: 'no name')
end
|
Instance Method Details
#asc? ⇒ Boolean
17
18
19
|
# File 'lib/sortiri/missing_column.rb', line 17
def asc?
false
end
|
#desc? ⇒ Boolean
21
22
23
|
# File 'lib/sortiri/missing_column.rb', line 21
def desc?
false
end
|
#direction ⇒ Object
9
10
11
|
# File 'lib/sortiri/missing_column.rb', line 9
def direction
''
end
|
#direction_sql ⇒ Object
13
14
15
|
# File 'lib/sortiri/missing_column.rb', line 13
def direction_sql
''
end
|
#foreign_column? ⇒ Boolean
33
34
35
|
# File 'lib/sortiri/missing_column.rb', line 33
def foreign_column?
false
end
|
#toggle_direction ⇒ Object
25
26
27
|
# File 'lib/sortiri/missing_column.rb', line 25
def toggle_direction
''
end
|
#toggle_icon_class ⇒ Object
29
30
31
|
# File 'lib/sortiri/missing_column.rb', line 29
def toggle_icon_class
''
end
|