Sha256: e1c51cc3943bad71409822f3c041ea757154c96c114be5de3a23d6e9f3458823

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module LoggableActivity
  class Configuration
    def self.load_config_file(config_file_path)
      @config_data = YAML.load_file(config_file_path)
    end

    def self.for_class(class_name)
      @config_data[class_name]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loggable_activity-0.1.39 lib/loggable_activity/configuration.rb
loggable_activity-0.1.38b lib/loggable_activity/configuration.rb
loggable_activity-0.1.36 lib/loggable_activity/configuration.rb