Closed defeated closed 10 years ago
Thanks for the patch. I'll merge it in this weekend. Would it be possible for you to add a test case (ideally using Minitest::Spec or simply Minitest)? If not, I'll work on that.
I tried, but it looks like this existing test already covers my use case, but something else must be requiring pathname
from the std lib, masking the issue from my minimal case (above)?
For posterity, I'm on OS X Mavericks using Ruby 2.1.1 -
★ ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
Version 1.3.1 is now available on Rubygems.org.
using a partial that has not already been registered raising the "uninitialized constant Tilt::HandlebarsTemplate::Pathname" error.
templates:
hello.hbs template:
header.hbs partial: