ToCode Method

HttpServer.dll

Overload List

  NameDescription
ToCode(Boolean%)
Converts the node to c# code
(Inherited from Node.)
ToCode(Boolean%, Boolean)
Convert the node to c# code
(Inherited from Node.)
ToCode(Boolean%, Boolean, Boolean)
= 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.
(Overrides Node..::.ToCode(Boolean%, Boolean, Boolean).)

See Also