Method: AdminAssistant::IndexSettings#conditions
- Defined in:
- lib/admin_assistant/builder.rb
#conditions(str = nil, &block) ⇒ Object
233 234 235 236 237 238 239 240 241 |
# File 'lib/admin_assistant/builder.rb', line 233 def conditions(str = nil, &block) if str.nil? && block.nil? @conditions elsif str @conditions = str elsif block @conditions = block end end |