apache-config-generator/lib/apache/directory.rb
2010-05-07 13:56:49 -04:00

17 lines
315 B
Ruby

module Apache
module Directories
def options(*opt)
create_options_list('Options', *opt)
end
def index_options(*opt)
create_options_list('IndexOptions', *opt)
end
private
def create_options_list(tag, *opt)
self << "#{tag} #{apachify(opt) * " "}"
end
end
end