class Haml::Options

def html5?

Returns:
  • (Boolean) - Whether or not the format is HTML5.
def html5?
  format == :html5
end