Class: LockDiff::Config
- Inherits:
-
Object
- Object
- LockDiff::Config
- Defined in:
- lib/lock_diff.rb
Instance Attribute Summary collapse
-
#client_class ⇒ Object
Returns the value of attribute client_class.
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#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.
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_class ⇒ Object
Returns the value of attribute client_class.
50 51 52 |
# File 'lib/lock_diff.rb', line 50 def client_class @client_class end |
#formatter ⇒ Object
Returns the value of attribute formatter.
50 51 52 |
# File 'lib/lock_diff.rb', line 50 def formatter @formatter end |
#logger ⇒ Object
Returns the value of attribute logger.
50 51 52 |
# File 'lib/lock_diff.rb', line 50 def logger @logger end |
#strategy ⇒ Object
Returns the value of attribute strategy.
50 51 52 |
# File 'lib/lock_diff.rb', line 50 def strategy @strategy end |