Method: Puppet::Pops::Types::SizeMismatch#message
- Defined in:
- lib/puppet/pops/types/type_mismatch_describer.rb
#message(variant, position) ⇒ 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.
463 464 465 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 463 def (variant, position) "#{variant}#{position} expects size to be #{range_to_s(expected, '0')}, got #{range_to_s(actual, '0')}" end |