From 9e5c68be8ebd795bb18f0a5ef727ee4bdfcbe1fa Mon Sep 17 00:00:00 2001 From: Mateusz Tomczak Date: Tue, 30 Dec 2025 20:53:50 +0100 Subject: [PATCH] Update installation guide in README post Ruby 4.0.0 release --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c9769f..c443fed 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,19 @@ An OpenStruct is a data structure, similar to a Hash, that allows the definition ## Installation -The `ostruct` library comes pre-packaged with Ruby. No installation is necessary. +Add this line to your application's Gemfile: + +```ruby +gem 'ostruct' +``` + +And then execute: + + $ bundle + +Or install it yourself as: + + $ gem install ostruct ## Usage