Class: LockDiff::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/lock_diff.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



52
53
54
55
56
57
# File 'lib/lock_diff.rb', line 52

def initialize
  @client_class = Github
  @formatter = Formatter::GithubMarkdown
  @strategy = Gem
  @logger = Logger.new($stdout, level: :warn)
end

Instance Attribute Details

#client_classObject

Returns the value of attribute client_class.



50
51
52
# File 'lib/lock_diff.rb', line 50

def client_class
  @client_class
end

#formatterObject

Returns the value of attribute formatter.



50
51
52
# File 'lib/lock_diff.rb', line 50

def formatter
  @formatter
end

#loggerObject

Returns the value of attribute logger.



50
51
52
# File 'lib/lock_diff.rb', line 50

def logger
  @logger
end

#strategyObject

Returns the value of attribute strategy.



50
51
52
# File 'lib/lock_diff.rb', line 50

def strategy
  @strategy
end