Problem with variable in Haml

0

I saw that by putting a hyphen the name of the variable and the value should be printed on the screen when you put the name in a paragraph but this happens:

    
asked by Gerry 02.04.2018 в 05:38
source

1 answer

1

Verify that you do not have spaces at the beginning of the line; For example, this line marks error:

 - nombre = "Ernesto"

But this line does not:

- nombre = "Ernesto"
    
answered by 02.04.2018 / 06:51
source