Skip to content

Also works with missing } #18

@obromios

Description

@obromios

Although it is kind of obvious, I was delighted to see this also picks up missing braces i.e

a = ary.map {|x| x**2

It might be worth mentioning this in the Readme.

This would have saved me hours of frustration when I was first learning ruby, and even today, it will still save time, so thank you very much. Hope it ends up in standard ruby.

It would be great if someone put this code into the common editors, e.g. Sublime Text Linter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions