= is placed at the end of a tag definition, after class, id, and attribute declarations.
It’s just a shortcut for inserting Ruby code into an element. It works the same as = without a tag:
it inserts the result of the Ruby code into the template.
However, if the result is short enough, it is displayed entirely on one line.
Namespace:
HttpServer.Rendering.Haml.Nodes
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
protected override string ToCode(
ref bool inString,
bool smallEnough,
bool smallEnoughIsDefaultValue
) |
Visual Basic (Declaration) |
---|
Protected Overrides Function ToCode ( _
ByRef inString As Boolean, _
smallEnough As Boolean, _
smallEnoughIsDefaultValue As Boolean _
) As String |
Visual C++ |
---|
protected:
virtual String^ ToCode(
bool% inString,
bool smallEnough,
bool smallEnoughIsDefaultValue
) override |
Return Value
c# code
See Also