class Object
Constants
- MysqlError
- MysqlField
- MysqlRes
Public Instance Methods
default_mysql_config_path()
click to toggle source
The first mysql_config binary on PATH …
# File ext/mysql_api/extconf.rb, line 19 def default_mysql_config_path mysql_config_paths.compact.first end
mysql_config_paths()
click to toggle source
All instances of mysql_config on PATH …
# File ext/mysql_api/extconf.rb, line 11 def mysql_config_paths ENV['PATH'].split(File::PATH_SEPARATOR).collect do |path| [ "#{path}/mysql_config", "#{path}/mysql_config5" ]. detect { |bin| File.exist?(bin) } end end