Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker to merging, and, this will require separate changes across many repositories:

Suggested change
$ bundle
$ bundle install

The preferred-by-bundler command is now the explicit bundle install rather than the implicit bundle.


Or install it yourself as:

$ gem install ostruct

## Usage

Expand Down