Sha256: 4c73e65ba02ce4b330ae20ea4832519b3062a50d1bebb6d04588bc56af7c173f
Contents?: true
Size: 425 Bytes
Versions: 5
Compression:
Stored size: 425 Bytes
Contents
module DatabaseDocumenter module DatabaseComment def self.get_comment_class(adapter=current_adapter) if adapter == "postgresql" DatabaseDocumenter::DatabaseComment::PostgresDatabaseComment else DatabaseDocumenter::DatabaseComment::MysqlDatabaseComment end end def self.current_adapter DatabaseDocumenter.configuration.database_configuration['adapter'] end end end
Version data entries
5 entries across 5 versions & 1 rubygems