[Closed] Numeric#step ignores `to` silently by keyword arguments

Issue #9811 has been updated by Nobuyoshi N…

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r45861.

numeric.c: check keyword arguments

  • numeric.c (num_step_scan_args): check keyword arguments and fail
    if they conflict with positional arguments.
    [ruby-dev:48177] [Bug #9811]

Bug #9811: Numeric#step ignores to silently by keyword arguments.

  • Author: Nobuyoshi N.
  • Status: Closed
  • Priority: Normal
  • Assignee:
  • Category: core
  • Target version: current: 2.2.0
  • ruby -v: r45860
  • Backport: 2.0.0: DONTNEED, 2.1: REQUIRED

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs