diff options
author | localhostdotdev <localhostdotdev@protonmail.com> | 2019-04-04 18:59:33 +0200 |
---|---|---|
committer | localhostdotdev <localhostdotdev@protonmail.com> | 2019-04-04 19:13:46 +0200 |
commit | b2b2f70f1f81b54b799118e8a4feb601ab480c41 (patch) | |
tree | d138e8ba90032379d819d0564e3a86705c713667 /MIT-LICENSE | |
parent | dc45130c44ebe0d8b621eba29332b35ea2840738 (diff) | |
download | rails-b2b2f70f1f81b54b799118e8a4feb601ab480c41.tar.gz rails-b2b2f70f1f81b54b799118e8a4feb601ab480c41.tar.bz2 rails-b2b2f70f1f81b54b799118e8a4feb601ab480c41.zip |
Fix arity warning for template handlers
Mainly to help with knowning which template is reponsible for the
warning.
handler.class # => Class
handler.to_s # => Coffee::Rails::TemplateHandler
Before:
Change:
>> Class#call(template)
To:
>> Class#call(template, source)
After:
Change:
>> Coffee::Rails::TemplateHandler.call(template)
To:
>> Coffee::Rails::TemplateHandler.call(template, source)
Diffstat (limited to 'MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions