From afa81d6ab6f581651b9fc5ff912b4e38cb96ee32 Mon Sep 17 00:00:00 2001 From: "Gene M. Angelo, Jr" Date: Wed, 10 Apr 2024 12:55:27 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a680a0e..7543fec 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,11 @@ immutable_struct_ex is yet another immutable struct. What makes immutable_struct ## Other Immutable Structs ```ruby -# Two steps... +# How OTHER immutable structs declare and instantiate, two steps... some_immutable_struct = SomeImmutableStruct.new(:first, :last, :phone) some_immutable_struct.new(first: 'John', last: 'Doe', phone: '(201) 230-7281') -# Chaining... +# How OTHER immutable structs chain... some_immutable_struct = SomeImmutableStruct.new(:first, :last, :phone) .new(first: 'John', last: 'Doe', phone: '(201) 230-7281') ```