dotfiles
dotfiles copied to clipboard
Remove redundant :: prefix in .irbrc
Fixes RuboCop Style/RedundantConstantBase offense at .irbrc:4:13.
Changes
- Remove
::prefix fromBundlerconstant lookup - unnecessary since Ruby searches top-level namespace by default - Add
vendor/bundleand.bundleto.gitignore
# Before
if defined?(::Bundler)
# After
if defined?(Bundler)
Original prompt
This section details on the original issue you should resolve
<issue_title>Remove redundant ::</issue_title> <issue_description>237 .irbrc:4:13: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::. 238 if defined?(::Bundler)</issue_description>
Comments on the Issue (you are @copilot in this section)
- Fixes benbalter/dotfiles#51
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.