lib/puppet/pops/issues.rb
# Formats a message for an occurrence of the issue with argument bindings passed in a hash.
# The hash must contain a LabelProvider bound to the key `label` and the semantic model element
# bound to the key `semantic`. All required arguments as specified by `arg_names` must be bound
# in the given `hash`.
# @api public
#
Formats a message for an occurrence of the issue with argument bindings passed in a hash.
The hash must contain a LabelProvider bound to the key `label` and the semantic model element
bound to the key `semantic`. All required arguments as specified by `arg_names` must be bound
in the given `hash`.
Formats a message for an occurrence of the issue with argument bindings passed in a hash . The hash must contain a LabelProvider bound to the key ` label ` and the semantic model element bound to the key ` semantic ` . All required arguments as specified by ` arg_names ` must be bound in the given ` hash ` .
def format(hash ={})
      msgdata = MessageData.new(*arg_names)
      msgdata.format(hash, &message_block)
    end
def format ( hash = { } ) msgdata = MessageData . new ( * arg_names ) msgdata . format ( hash , & message_block ) end
Formats a message for an occurrence of the issue with argument bindings passed in a hash.
Formats a message for an occurrence of the issue with argument bindings passed in a hash .
# Create a Message Data where all hash keys become methods for convenient interpolation # in issue text. # Evaluate the message block in the msg data's binding
hash
<not_specific>
api
None