ruby-blocks-procs-lambdas

Official

Master Ruby blocks, procs, and lambdas.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill teaches Ruby's blocks, procs, and lambdas to express control flow with higher-order functions and closures.

Core Features & Use Cases

  • Blocks & yields: Define and pass blocks to methods.
  • Procs & lambdas: Understand differences in behavior, arity, and return semantics.
  • Closures: Create functions that capture surrounding variables.

Quick Start

Write a small method that yields to a block and compare it with a Proc and a lambda.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ruby-blocks-procs-lambdas
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#ruby-blocks-procs-lambdas

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository