Ruby Slim - How do you define the class of an element with a help or a variable of rails?


In rails slim ( the syntax for defining a new div with a class name "sample" is the following:

      = "Content goes here"

this will create:

 <div class="sample">
      Content goes here

I want to define a div's class according to a rail's helper, a variable, or other things.. such as, in rails:

 <div class="sample #{}">
   Content goes here

I have no idea how to do this in slim:

 .sample #what else goes here?
   Content goes here

Anyone know how?

How about

div[class="sample #{}"]

or even

div class=["sample",]


.sample *{:class => [,]}