extify(name)
Add an extension to the given name based on the platform.
# File railties/lib/rails/generators/actions.rb, line 250 def extify(name) if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ "#{name}.bat" else name end end