File: func3.rb.erb

package info (click to toggle)
puppet-agent 8.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,392 kB
  • sloc: ruby: 286,820; sh: 492; xml: 116; makefile: 88; cs: 68
file content (8 lines) | stat: -rw-r--r-- 403 bytes parent folder | download
1
2
3
4
5
6
7
8
Puppet::Parser::Functions::newfunction(:func3,
  :arity => 2,
  :doc => "Blah blah, this is a lot of documentation that the ruby parser must deal with
  because documentation is part of what is loaded at runtime. Some functions have
  very little documentation, and some have quite a lot. This simulates documentation
  that is slightly longer than the shortest ones.") do |vals|
    # produces nil
end