Sha256: 4fb3816ec36338e233fdfb1a282eb934c71cc46cbb06f6007b516c2fd79d2d09
Contents?: true
Size: 597 Bytes
Versions: 2
Compression:
Stored size: 597 Bytes
Contents
# Called to return parameter tags. # @return [Array<YARD::Tag>] Returns the parameter tags if the object should have parameters. def param tag(:param) if object.type == :method || object.type == :puppet_class || object.type == :puppet_data_type || object.type == :puppet_defined_type || object.type == :puppet_function || object.type == :puppet_task || object.type == :puppet_plan end # Renders the overload section. # @return [String] Returns the rendered section. def overload erb(if object.type == :puppet_function then :puppet_overload else :overload end) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puppet-strings-2.3.1 | lib/puppet-strings/yard/templates/default/tags/setup.rb |
puppet-strings-2.3.0 | lib/puppet-strings/yard/templates/default/tags/setup.rb |