| 2011-02-17 23:23:19 utc | jmettraux | Dirklectisch: hello and welcome to #ruote |
| 2011-02-17 23:32:16 utc | briahn10 | hey guys |
| 2011-02-17 23:32:26 utc | briahn10 | does _if not support compound tests? |
| 2011-02-17 23:32:35 utc | briahn10 | eg. _if :test => "this && that" ? |
| 2011-02-17 23:33:03 utc | jmettraux | briahn10: hello, which version do you use ? |
| 2011-02-17 23:33:41 utc | briahn10 | 2.1.11 |
| 2011-02-17 23:33:57 utc | jmettraux | 2.2.0 will support it |
| 2011-02-17 23:34:09 utc | jmettraux | (master) |
| 2011-02-17 23:34:15 utc | briahn10 | ah, okay... for now i have to nest single ifs? |
| 2011-02-17 23:35:17 utc | jmettraux | usually the "decision" is placed in one field and the if look like :test => "${this}" |
| 2011-02-17 23:37:11 utc | jmettraux | or you could do :test => "${r:wi.fields['this'] && wi.fields['that']}" |
| 2011-02-17 23:37:29 utc | jmettraux | the ${r:xxxx} evaluates ruby code |
| 2011-02-17 23:38:39 utc | jmettraux | http://ruote.rubyforge.org/dollar.html#ruby_eval_allowed |
| 2011-02-17 23:41:39 utc | briahn10 | ah good to know thx |