faml
faml copied to clipboard
Faster implementation of Haml template language
I encountered this error when typing this command line "gem install faml -v '0.8.1' --source 'https://rubygems.org/'". I run Windows 10 x64 19042 and Ruby 2.5.1 (x64). current directory: D:/lib/Ruby25-x64/lib/ruby/gems/2.5.0/gems/faml-0.8.1/ext/attribute_builder D:/lib/Ruby25-x64/bin/ruby.exe...
In Rails 6.0 the API for template handlers is changing, a template handler must now take two arguments [1], the template and the source, otherwise you will see the following...
:trollface:
`%span{class: func(x)}` is currently compiled into code using `Faml::AttributeBuilder`. But we could inline it like dynamic attributes. Before: ``` ruby _buf
This is an optimization idea of Hamlit.
Some views uses `capture_haml`, `haml_tag` and so on.