cookpad/chanko — pull request #16 by makimoto (2012-12-05 14:29:39+00:00)
Title: Allow omitting `:locals` key in invoke

By this fix, given `invoke` without options using in chanko, `options` hash is treated as `:locals` implicitly.
It works like ActionView's `render`.

We can write:
```ruby
invoke(:foo_unit, :bar_function, :fizz => :buzz)
```
in place of
```ruby
invoke(:foo_unit, :bar_function, :locals => { :fizz => :buzz })
````