method
mysql_socket_location
v1.1.6 -
Show latest stable
- Class:
AppGenerator
mysql_socket_location()protected
No documentation available.
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 110
def mysql_socket_location
RUBY_PLATFORM =~ /mswin32/ ? MYSQL_SOCKET_LOCATIONS.find { |f| File.exists?(f) } : nil
end