I have theses two line in erb
<body class="<%= yield (:body_class) %>">
<% content_for :body_class, "my_class" %>
I have tried
- content_for :body_class do
my_class
For above HAML conversion I'm not sure - correct or not ! and not able to figure out HAML conversion for
<body class="<%= yield (:body_class) %>">
Any help would be appreciated