Class: Searchgasm::Condition::Tree

Inherits:
Base
  • Object
show all
Defined in:
lib/searchgasm/condition/tree.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Base

#column, #column_for_type_cast, #column_sql, #column_sql_format, #klass, #table_name

Class Method Summary collapse

Methods inherited from Base

condition_type_name, #explicitly_set_value=, #explicitly_set_value?, handle_array_value?, ignore_meaningless_value?, #initialize, join_arrays_with_or?, #options, #sanitize, #value, #value=, #value_is_meaningless?

Constructor Details

This class inherits a constructor from Searchgasm::Condition::Base

Class Method Details

.condition_names_for_columnObject



7
8
9
# File 'lib/searchgasm/condition/tree.rb', line 7

def condition_names_for_column
  []
end

.condition_names_for_model(model) ⇒ Object



11
12
13
# File 'lib/searchgasm/condition/tree.rb', line 11

def condition_names_for_model(model)
  [condition_type_name]
end