Module: Coco::DeprecatedMessage
- Defined in:
- lib/coco/deprecated_message.rb
Overview
Group all messages for deprecated things in this module.
Class Method Summary collapse
- .for_directories ⇒ Object
- .for_excludes ⇒ Object
- .for_legacy_config_file ⇒ Object
- .for_threeshold ⇒ Object
Class Method Details
.for_directories ⇒ Object
13 14 15 16 17 |
# File 'lib/coco/deprecated_message.rb', line 13 def self.for_directories "Please change `directories` to `include`.\n" \ 'Support for `directories` configuration key will ' \ 'be removed in future Coco versions.' end |
.for_excludes ⇒ Object
7 8 9 10 11 |
# File 'lib/coco/deprecated_message.rb', line 7 def self.for_excludes "Please change `excludes` to `exclude`.\n" \ 'Support for `excludes` configuration key will ' \ 'be removed in future Coco versions.' end |
.for_legacy_config_file ⇒ Object
25 26 27 28 |
# File 'lib/coco/deprecated_message.rb', line 25 def self.for_legacy_config_file "Please use `.coco.yml` instead of `.coco`.\n" \ 'Support for `.coco` will be removed in future versions.' end |
.for_threeshold ⇒ Object
19 20 21 22 23 |
# File 'lib/coco/deprecated_message.rb', line 19 def self.for_threeshold "Please change `threeshold` to `threshold`.\n" \ 'Support for the misspelt `threeshold` configuration key will ' \ 'be removed in future Coco versions.' end |