judofyr/temple — Issue #54: Error : Proc or blocks must have arity 1
Author: coolesting
Created: 2011-12-15 07:23:30+00:00
State: open

I am using the [slim gem]{https://github.com/stonean/slim} that depends the template, when i run the slim that gets me a error,

.../temple-0.3.4/lib/temple/mixins/engine_dsl.rb:128:in `element': Proc or blocks must have arity 1 (ArgumentError)

The ruby code as follows
```ruby
require "slim"
Tilt.new['template.slim'].render(scope)
Slim::Template.new(filename, optional_option_hash).render(scope)
Slim::Template.new(optional_option_hash) { source }.render(scope)
````