Skip to content

YARD default for retries: in BazaRb#initialize says 3 but code uses 5 #276

Description

@kreinba

The YARD comment on lib/baza-rb.rb:65 documents the retries: keyword argument of BazaRb#initialize as (default: 3), but the constructor signature on lib/baza-rb.rb:69 declares retries: 5. The doc and the code disagree, so a caller relying on the documented value computes the wrong total retry budget — five attempts instead of three — and any tooling that surfaces the constructor's defaults from the docs will be off by two.

The fix is a one-line edit: change (default: 3) on line 65 to (default: 5) so the YARD doc agrees with the actual keyword default on line 69.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions