Sha256: a1aa67a94059eb1f9a3e3a72a61d051ebd7349720496e18708866b658cbd4d8b

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

module ConfigDefault::RailsApplicationConfigurationExtension
  def load_database_yaml
    ConfigDefault.load(:database, key: nil)
  end

  def database_configuration
    load_database_yaml
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
config_default-0.2.5 lib/config_default/rails_application_configuration_extension.rb
config_default-0.2.4 lib/config_default/rails_application_configuration_extension.rb
config_default-0.2.3 lib/config_default/rails_application_configuration_extension.rb
config_default-0.2.2 lib/config_default/rails_application_configuration_extension.rb
config_default-0.2.1 lib/config_default/rails_application_configuration_extension.rb