dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Remove redundant :: prefix in .irbrc

Open Copilot opened this issue 3 months ago • 0 comments

Fixes RuboCop Style/RedundantConstantBase offense at .irbrc:4:13.

Changes

  • Remove :: prefix from Bundler constant lookup - unnecessary since Ruby searches top-level namespace by default
  • Add vendor/bundle and .bundle to .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.

Copilot avatar Nov 05 '25 20:11 Copilot