gi / handlebars-ruby

A Ruby interface to the official JavaScript version of Handlebars.
MIT License
5 stars 0 forks source link

register_helper: accept multiple helpers as keyword parameters #6

Closed gi closed 2 years ago

gi commented 2 years ago

This updates the register_helper method to accept keyword parameters for defining multiple helpers in one call:

register_helper(name1 => fn1, name2 => fn2)
codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit 27e64298 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (100% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.