File: args.rb

package info (click to toggle)
grantlee5 5.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,028 kB
  • sloc: cpp: 24,265; javascript: 6,043; python: 299; sh: 109; ruby: 24; makefile: 15
file content (4 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (9)
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 %}