This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.
extify(name)
Add an extension to the given name based on the platform.
# File railties/lib/rails/generators/actions.rb, line 341 def extify(name) # :doc: if Gem.win_platform? "#{name}.bat" else name end end