module Rails::Generators::Actions

def initializer(filename, data=nil, &block)


initializer("api.rb", "API_KEY = '123456'")

end
data

end
data << "#{const} = :entp"
['MY_WORK', 'ADMINS', 'BEST_COMPANY_EVAR'].each do

data = ""
initializer("globals.rb") do

==== Examples

Create a new initializer with the provided code (either in a block or a string).
def initializer(filename, data=nil, &block)
  log :initializer, filename
  create_file("config/initializers/#{filename}", data, :verbose => false, &block)
end