Skip to content

chapter 3, ".sort:", new syntax out of nowhere #64

@timo

Description

@timo

The example for a custom comparison function uses an apparently new kind of syntax (appending a colon after a method and adding a block there), but there is no explanation why and how exactly it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions