Skip to content

ブロック付きメソッドを定義するときに引数にブロック引数を定義していないことを怒る Cop #64

@tommy-ish

Description

@tommy-ish

ブロック付きメソッドかどうかを分かりやすくするために、ブロック付きメソッドを定義するときにそのメソッドの引数にブロック引数を定義していないことを怒る Cop が欲しいです。

def method
  yield
end

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