godfat/rib — Issue #6: multiline expression causes SyntaxError
Author: ayamomiji
Created: 2012-02-01 04:52:55+00:00
State: open

for this expression:

```
end_date = Time.now +
1.day +
2.hour +
3.minute
```

this can works in `rails console` (irb?):

```
1.9.3p0 :001 > end_date = Time.now +
1.9.3p0 :002 > 1.day +
1.9.3p0 :003 > 2.hour +
1.9.3p0 :004 > 3.minute
=> 2012-02-02 14:54:27 +0800
```

but in `rib rails`:

```
>> end_date = Time.now +
| 1.day +
SyntaxError: (rib-rails):9: syntax error, unexpected tUPLUS, expecting $end
1.day +
^
```