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



62
63
64
65
66
67
68
# File 'lib/lock_diff.rb', line 62

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

Instance Attribute Details

#formatterObject

Returns the value of attribute formatter.



60
61
62
# File 'lib/lock_diff.rb', line 60

def formatter
  @formatter
end

#loggerObject

Returns the value of attribute logger.



60
61
62
# File 'lib/lock_diff.rb', line 60

def logger
  @logger
end

#pr_repository_serviceObject

Returns the value of attribute pr_repository_service.



60
61
62
# File 'lib/lock_diff.rb', line 60

def pr_repository_service
  @pr_repository_service
end

#strategyObject

Returns the value of attribute strategy.



60
61
62
# File 'lib/lock_diff.rb', line 60

def strategy
  @strategy
end