Skip to content

Commit

Permalink
Update method reference (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
that-jill authored Oct 16, 2024
1 parent 99f303c commit a5be20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dep_shield/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ After installing DepShield, load any todo lists in your application with:
# components/books/lib/books.rb

def self.category
NitroErrors.deprecate!(name: "books_default_category", message: "please use '.default_category' instead")
DepShield.raise_or_capture!(name: "books_default_category", message: "please use '.default_category' instead")
"Science Fiction"
end
```
Expand Down

0 comments on commit a5be20b

Please sign in to comment.