tag: 'Ruby 3'

Narrow your search:

    Log in Sign up
    1 Matching Annotations
    1. Aug 2021
    2. www.ruby-lang.org www.ruby-lang.org
      Separation of positional and keyword arguments in Ruby 3.0
      1
      1. TylerRick 06 Aug 2021
        in Public
        You need to explicitly delegate keyword arguments. def foo(*args, **kwargs, &block) target(*args, **kwargs, &block) end
        Ruby 3 argument delegation being explicit
      Visit annotations in context

      Tags

      • Ruby 3
      • argument delegation
      • being explicit

      Annotators

      • TylerRick

      URL

      ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
    Share:
    Group. Only group members will be able to view this annotation.
    Only me. No one else will be able to view this annotation.
    Hypothes.is
    • About
    • Blog
    • Bioscience
    • Education
    • Jobs
    • Help
    • Contact
    • Terms of Service
    • Privacy Policy