Jeremy Evans

Results 131 comments of Jeremy Evans

That makes sense. `String` is not in `BasicObject` constant lookup scope. You would need to use `::String` in the template. I'd say this is another case that relied on undefined...

Actually, if you pass a `BasicObject`/`LayoutScope` instance as a `scope`, the code should fail with a NoMethodError (unless you are also defining an `is_a?` method on the class. That is...

I committed a fix to Erubi: https://github.com/jeremyevans/erubi/commit/3db54fc93d780c892e64d22a675c82919f96354e @jodosha, can you try the Erubi master branch and see if that fixes the Hanami issue?

@judofyr Unfortunately, you can't have constant lookup fallback to Object and have constant lookup based on the scope class and run without warnings on Ruby 2.7. If the scope class...

Erubi 1.9.0 was released a few minutes ago. I'll work on a pull request to fix the rendering of BasicObject instances in tilt.

I think we should close this. We aren't going to be reverting to the old design. If you want to define methods in a template and call them later in...

Looks like this was already implemented by e7432c54338f54c9e432282a83a6b6b3deb10f77, and can be closed.

`hamdown` looks dead upstream (no commits in 3 years), so I think this can be closed.

I don't think we should add this as a specific method. Using `lazy_map` leads to likely incorrect results, unless you have every possible template engine Tilt could use installed. By...

While it probably is better to use a custom mapping. It appears to be possible to modify the default mapping using the existing public API: `Tilt.default_mapping.lazy_map.delete('rst')`