module Haml::Helpers
def precede(str, &block)
- Yield: - A block of Haml to prepend to
Parameters:
-
str
(String
) -- The string to add before the Haml
def precede(str, &block) "#{str}#{capture_haml(&block).chomp}\n" end
str
(String
)
-- The string to add before the Haml
def precede(str, &block) "#{str}#{capture_haml(&block).chomp}\n" end