Sha256: be1210e8756e7cd4ec5c6a41adca2172b53742232d75f603a5bf3632bf684f6e

Contents?: true

Size: 290 Bytes

Versions: 11

Compression:

Stored size: 290 Bytes

Contents

class Gamma::DatabaseSettings
  attr_reader :settings, :in_database, :out_database

  def initialize(yaml_path)
    @settings = YAML.load_file(yaml_path).with_indifferent_access
    @in_database = @settings[:in_database_config]
    @out_database = @settings[:out_database_config]
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gamma-0.2.0 lib/gamma/database_settings.rb
gamma-0.1.9 lib/gamma/database_settings.rb
gamma-0.1.8 lib/gamma/database_settings.rb
gamma-0.1.7 lib/gamma/database_settings.rb
gamma-0.1.6 lib/gamma/database_settings.rb
gamma-0.1.5 lib/gamma/database_settings.rb
gamma-0.1.4 lib/gamma/database_settings.rb
gamma-0.1.3 lib/gamma/database_settings.rb
gamma-0.1.2 lib/gamma/database_settings.rb
gamma-0.1.1 lib/gamma/database_settings.rb
gamma-0.1.0 lib/gamma/database_settings.rb