Skip to content

extra arguments not included in defaulted last parameter #28

@dannypurcell

Description

@dannypurcell

Example:

def test(a, b, c = [])
  puts "a=#{a}, b=#{b}, c=#{c}"
end

Command Line:

test 1 2 3 4 5

Expected:

"a=1, b=2, c=[3,4,5]"

Actual:

"a=1, b=2, c=3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions