Method: MySQLExpectations::MySQL#method_missing
- Defined in:
- lib/mysql_expectations/mysql.rb
#method_missing(method_sym, *arguments, &block) ⇒ Object
43 44 45 46 47 48 49 |
# File 'lib/mysql_expectations/mysql.rb', line 43 def method_missing(method_sym, *arguments, &block) if arguments.empty? && block.nil? database_name = method_sym.to_s return database(database_name) if database?(database_name) end super end |