Thx for bug fixing :D
I suggest this line

```ruby
haml = lambda {|x| x ? ' -e haml' : ''}.call(@kaminari_haml)
```