Class: CriteriaOperator::UiComponent::CriteriaEditorCell
- Inherits:
-
BaseCell
- Object
- Cell::ViewModel
- BaseCell
- CriteriaOperator::UiComponent::CriteriaEditorCell
- Defined in:
- app/cells/criteria_operator/ui_component/criteria_editor_cell.rb
Instance Method Summary collapse
Instance Method Details
#choose_template(options = {}) ⇒ Object
11 12 13 14 15 16 17 |
# File 'app/cells/criteria_operator/ui_component/criteria_editor_cell.rb', line 11 def choose_template( = {}) if model.kind_of? BinaryOperator ExpressionCell.call(model).call(:show, ) else GroupCell.call(model).call(:show, ) end end |
#show ⇒ Object
7 8 9 |
# File 'app/cells/criteria_operator/ui_component/criteria_editor_cell.rb', line 7 def show render end |