Method: Puppet::Pops::Types::TypeMismatchDescriber#tense_deprecated
- Defined in:
- lib/puppet/pops/types/type_mismatch_describer.rb
#tense_deprecated ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
513 514 515 516 517 518 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 513 def tense_deprecated # TRANSLATORS TypeMismatchDescriber is a class name and 'tense' is a method name and should not be translated = _("Passing a 'tense' argument to the TypeMismatchDescriber is deprecated and ignored.") += ' ' + _("Everything is now reported using present tense") Puppet.warn_once('deprecations', 'typemismatch#tense', ) end |