Class: CC::Service::Formatter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- CC::Service::Formatter
- Defined in:
- lib/cc/service/formatter.rb
Direct Known Subclasses
Formatters::LinkedFormatter, Formatters::PlainFormatter, Formatters::TicketFormatter
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(service, options = {}) ⇒ Formatter
constructor
A new instance of Formatter.
Constructor Details
#initialize(service, options = {}) ⇒ Formatter
Returns a new instance of Formatter.
6 7 8 9 10 11 12 13 |
# File 'lib/cc/service/formatter.rb', line 6 def initialize(service, = {}) super(service) @options = { prefix: "[Code Climate]", prefix_with_repo: true, }.merge() end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/cc/service/formatter.rb', line 4 def @options end |