Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dogweather committed May 2, 2024
1 parent 3bee65b commit a017d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Dog < ValidatedObject::Base
end
```

Alternatively, we could make it immutable with `attr_reader`:
Alternatively, we could make it immutable with Ruby's [attr_reader](https://bootrails.com/blog/ruby-attr-accessor-attr-writer-attr-reader/#2-attr_reader-attr_writer--attr_accessor):

```ruby
class ImmutableDog < ValidatedObject::Base
Expand Down

0 comments on commit a017d06

Please sign in to comment.