class Haml::HTML::ERB

def block_closer?(code)

Returns:
  • (Boolean) -

Parameters:
  • code (String) -- Ruby code to check
def block_closer?(code)
  valid_ruby?("begin\n" + code)
end