Registry / web-framework / haml
library7.2.0rbrubygemsunverified

An elegant, structured (X)HTML/XML templating engine.

gem install haml
INSTALL
IMPORT
SIG · HAML
H
haml
web-frameworkrubyv7.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Haml
require 'haml'

Render a simple Haml template to HTML

require 'haml' engine = Haml::Engine.new('%h1 Hello, World!') puts engine.render # => <h1>Hello, World!</h1>
Debug
Known issues
breakingHaml 6+ requires Ruby 2.7+ and has breaking changes in syntax (e.g., no more :css/:javascript filters).
fix
Check the Haml 6 upgrade guide for syntax changes and ensure Ruby version compatibility.
affects: >= 6.0
Upgrade
Version history
7.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
haml — gem install haml · libregistry