Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'haml' # or put haml in your gemfile and start rack with `bundle exec`
- # ...
- run lambda {|env|
- template = File.read(path)
- page = Haml::Engine.new(template).render()
- }
- # ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement