Method: Puppet::Pops::Issues.issue
- Defined in:
- lib/puppet/pops/issues.rb
.issue(issue_code, *args, &block) ⇒ Object
Defines an issue with the given issue_code, additional required parameters, and a block producing a message. The block is evaluated in the context of a MessageData which provides convenient access to all required arguments via accessor methods. In addition to accessors for specified arguments, these are also available:
-
label- aLabelProviderthat provides human understandable names for model elements and production of article (a/an/the). -
semantic- the model element for which the issue is reported
126 127 128 |
# File 'lib/puppet/pops/issues.rb', line 126 def self.issue(issue_code, *args, &block) Issue.new(issue_code, *args, &block) end |