Method: Sequel::Database#inspect

Defined in:
lib/sequel/database.rb

#inspectObject

Returns a string representation of the database object including the class name and the connection URI (or the opts if the URI cannot be constructed).



369
370
371
# File 'lib/sequel/database.rb', line 369

def inspect
  "#<#{self.class}: #{(uri rescue opts).inspect}>" 
end