Class: LockDiff::Config
- Inherits:
-
Object
- Object
- LockDiff::Config
- Defined in:
- lib/lock_diff.rb
Instance Attribute Summary collapse
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#pr_repository_service ⇒ Object
Returns the value of attribute pr_repository_service.
-
#strategy ⇒ Object
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
63 64 65 66 67 68 69 |
# File 'lib/lock_diff.rb', line 63 def initialize @pr_repository_service = Github @formatter = Formatter::GithubMarkdown @strategy = Gem @logger = Logger.new($stdout) @logger.level = :warn end |
Instance Attribute Details
#formatter ⇒ Object
Returns the value of attribute formatter.
61 62 63 |
# File 'lib/lock_diff.rb', line 61 def formatter @formatter end |
#logger ⇒ Object
Returns the value of attribute logger.
61 62 63 |
# File 'lib/lock_diff.rb', line 61 def logger @logger end |
#pr_repository_service ⇒ Object
Returns the value of attribute pr_repository_service.
61 62 63 |
# File 'lib/lock_diff.rb', line 61 def pr_repository_service @pr_repository_service end |
#strategy ⇒ Object
Returns the value of attribute strategy.
61 62 63 |
# File 'lib/lock_diff.rb', line 61 def strategy @strategy end |