File: args.rb

package info (click to toggle)
kf6-ktexttemplate 6.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,276 kB
  • sloc: cpp: 19,546; javascript: 6,043; python: 297; ruby: 24; makefile: 5
file content (4 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (10)
1
2
3
4
{% for arg in method.args %}{% comment %}
{% endcomment %}{{ arg.name }}{% if default and arg.default %} = {{ arg.default }}{% endif %}{% comment %}
  Add a comma between the arguments, except after the last one:
  {% endcomment %}{% if not forloop.last %}, {% endif %}{% endfor %}