Sha256: 01bae1939d3a56ad2d5d124b623c1bf15e690490eae1d7bf9db6fc6e24bfc4bd

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

# A base class for reading column database comments

class DatabaseDocumenter::DatabaseComment::BaseDatabaseComment
  def self.read_columns_comment(_table_name)
    raise NotImplementedError
  end

  def self.read_table_comment(_table_name)
    raise NotImplementedError
  end

  def self.database_name
    Rails.application.config.database_configuration[Rails.env]['database'].freeze
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
database_documenter-0.1.11 lib/database_documenter/database_comment/base_database_comment.rb
database_documenter-0.1.10 lib/database_documenter/database_comment/base_database_comment.rb
database_documenter-0.1.9 lib/database_documenter/database_comment/base_database_comment.rb
database_documenter-0.1.8 lib/database_documenter/database_comment/base_database_comment.rb
database_documenter-0.1.7 lib/database_documenter/database_comment/base_database_comment.rb