lib/reviewer/configuration.rb in reviewer-0.1.4 vs lib/reviewer/configuration.rb in reviewer-0.1.5

- old
+ new

@@ -2,10 +2,18 @@ require 'pathname' module Reviewer # Configuration values container for Reviewer + # + # @!attribute file + # @return [Pathname] the pathname for the primary configuraton file + # @!attribute history_file + # @return [Pathname] the pathname for the history file to store data across runs + # + # @author [garrettdimon] + # class Configuration DEFAULT_PATH = Dir.pwd.freeze DEFAULT_CONFIG_FILE_NAME = '.reviewer.yml' DEFAULT_HISTORY_FILE_NAME = '.reviewer_history.yml' @@ -16,10 +24,9 @@ attr_accessor :file, :history_file, :printer def initialize @file = Pathname(DEFAULT_CONFIG_LOCATION) @history_file = Pathname(DEFAULT_HISTORY_LOCATION) - @printer = ::Reviewer::Printer.new # Future Configuration Options: # - seed_substitution_value(string): Currently a constant of `$SEED` in Reviewer::Command, but # may need to be configurable in case any command-line strings have other legitimate uses # for the value such that it may need to be override. Ideally, it woudl be changed to3