ruby / ruby/spec

Cleanup proc_spec.rb and block_spec.rb

Open
#971 1 comment 0 reactions 1 assignee View on GitHub

@andrykonchin is already working on this.

Since Oct 25, 2022.

Dominant language
Ruby
Stars
622
Forks
402
Avg merge
14h 51m
Merged PRs (30d)
6

Description

Currently it's a mess with lambda in proc_spec.rb.

Proposed organization:

  • block_spec.rb: only passing a block to something else
  • lambda_spec.rb: as it is, lambda semantics
  • proc_spec.rb: remove lambda in it, and move most of block_spec.rb, so it's about Proc semantics.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.