class

Haml::Runtime::Attributes

Inherits Reference < Object

All heterogeneous user values are normalized AT THE BOUNDARY. Storage has one small, stable union regardless of the application's model types. An expression passed to add/add_all is evaluated once by Crystal before this method is entered. There is no repeated evaluation for boolean checks.

Constructors

new(depth_limit : Int32 = 64)
Source

Instance methods

add(name : String, value : T) : Nil forall T
Source
add_all(values : Hash | NamedTuple) : Nil
Source
write_to(io : IO) : Nil
Source