module Rails::Generators::Actions

def vendor(filename, data = nil)


end
"# Foreign code is fun"
vendor "foreign.rb" do

RUBY
# Foreign code is fun
vendor "foreign.rb", <<~RUBY

argument or as the return value of the block.
Creates a file in +vendor/+. The contents can be specified as an
def vendor(filename, data = nil)
  log :vendor, filename
  data ||= yield if block_given?
  create_file("vendor/#{filename}", optimize_indentation(data), verbose: false)
end