Exception: Puppet::Module::Task::InvalidName Private
- Defined in:
- lib/puppet/module/task.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from Error
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidName
constructor
private
A new instance of InvalidName.
Methods inherited from Error
Constructor Details
#initialize(name) ⇒ InvalidName
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.
Returns a new instance of InvalidName.
26 27 28 29 |
# File 'lib/puppet/module/task.rb', line 26 def initialize(name) msg = _("Task names must start with a lowercase letter and be composed of only lowercase letters, numbers, and underscores") super(msg, 'puppet.tasks/invalid-name') end |