method
mysql_socket_location
v2.0.3 -
Show latest stable
- Class:
AppGenerator
mysql_socket_location()protected
No documentation available.
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 131
def mysql_socket_location
MYSQL_SOCKET_LOCATIONS.find { |f| File.exist?(f) } unless RUBY_PLATFORM =~ /(:?mswin|mingw)/
end