Exception: ChefApply::Text::TextWrapper::MissingPlural
- Inherits:
-
TextError
- Object
- RuntimeError
- TextError
- ChefApply::Text::TextWrapper::MissingPlural
- Defined in:
- lib/chef_apply/text/text_wrapper.rb
Instance Attribute Summary
Attributes inherited from TextError
Instance Method Summary collapse
-
#initialize(path, terminus) ⇒ MissingPlural
constructor
A new instance of MissingPlural.
Methods inherited from TextError
Constructor Details
#initialize(path, terminus) ⇒ MissingPlural
Returns a new instance of MissingPlural.
77 78 79 80 81 82 83 |
# File 'lib/chef_apply/text/text_wrapper.rb', line 77 def initialize(path, terminus) set_call_context = "i18n key #{path}.#{terminus} appears to reference a pluralization.\n" << "Please append the plural indicator '!!pl' to the end of #{path}.\n" << "Referenced from #{line}" super() end |