Method: Puppet::Property#unsafe_validate

Defined in:
lib/puppet/property.rb

#unsafe_validate(value) ⇒ void

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.

This method returns an undefined value.

Asserts that the given value is valid. If the developer uses a ‘validate’ hook, this method will get overridden.

Raises:

  • (Exception)

    if the value is invalid, or value can not be handled.



578
579
580
581
# File 'lib/puppet/property.rb', line 578

def unsafe_validate(value)
  super
  validate_features_per_value(value)
end