Skip to content

Commit

Permalink
Add CLI as an acronym
Browse files Browse the repository at this point in the history
Without this, zeitwerk raises an error as it expects `lib/cli.rb` to
define `Cli`, rather than `CLI`.
  • Loading branch information
brucebolt committed Sep 23, 2024
1 parent 7178f66 commit f7dedbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/initializers/inflections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
# end

# These inflection rules are supported but not enabled by default:
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.acronym "RESTful"
# end
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.acronym "CLI"
end

0 comments on commit f7dedbc

Please sign in to comment.