Sha256: 9a8ee7025dc9f017bb4a5ccd6a5f2560b348f2ad5382394f03ca7f3c7184f22b

Contents?: true

Size: 249 Bytes

Versions: 10

Compression:

Stored size: 249 Bytes

Contents

module UsdaNutrientDatabase
  class Configuration
    attr_accessor :logger
    attr_writer   :perform_logging

    def logger
      @logger ||= Logger.new(STDOUT)
    end

    def perform_logging?
      @perform_logging ||= false
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
usda-nutrient-database-1.3.0 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-1.2.0 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-1.1.0 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-1.0.1 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-1.0.0 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-0.8.1 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-0.8.0 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-0.7.0 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-0.6.0 lib/usda_nutrient_database/configuration.rb
usda-nutrient-database-0.5.0 lib/usda_nutrient_database/configuration.rb