class Haml::Options

def for_buffer

Returns:
  • ({Symbol => Object}) - The options hash
def for_buffer
  self.class.buffer_option_keys.inject({}) do |hash, key|
    hash[key] = send(key)
    hash
  end
end