dewski/json_builder — Issue #9: Last line can't be a comment
Author: lagartoflojo
Created: 2011-11-29 15:42:58+00:00
State: open

A template like this:

```ruby
name @child.name
# a comment on the last line
```

breaks with:

```
show.json.json_builder:17: syntax error, unexpected keyword_ensure, expecting '}'
```

This does not happen if there's at least one empty line after the comment:

```ruby
name @child.name
# a comment on the last line

```