1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Update :ruby filter docs in REFERENCE.md

Ruby filter no longer writes stdout to the document. Update REFERENCE.md
to reflect this.
This commit is contained in:
Matt Wildig 2013-04-04 01:37:56 +01:00 committed by Norman Clarke
parent d8a770f484
commit 510af3bed8

View file

@ -1151,10 +1151,11 @@ HTML escape code for newlines, to preserve nice-looking output. See also
{#ruby-filter}
### `:ruby`
Parses the filtered text with the normal Ruby interpreter. All output sent to
`$stdout`, like with `puts`, is output into the Haml document. Not available if
the {Haml::Options#suppress_eval `:suppress_eval`} option is set to true. The
Ruby code is evaluated in the same context as the Haml template.
Parses the filtered text with the normal Ruby interpreter. Creates an `IO`
object named `haml_io`, anything written to it is output into the Haml document.
Not available if the {Haml::Options#suppress_eval `:suppress_eval`} option is
set to true. The Ruby code is evaluated in the same context as the Haml
template.
{#sass-filter}
### `:sass`