class Haml::Options

def format=(value)

def format=(value)
  unless self.class.valid_formats.include?(value)
    raise Haml::Error, "Invalid output format #{value.inspect}"
  end
  @format = value
end