Skip to content

Commit

Permalink
Fix typo in method name
Browse files Browse the repository at this point in the history
This method name had a typo, since the method in the full specification
is called `default_gem?` not `default_gem`. That typo being unnoticed
most likely indicates that the method was not being run at all. However,
since I intend to use it in later commits, I'm fixing the typo and not
removing it.
  • Loading branch information
deivid-rodriguez committed May 19, 2020
1 parent 3d51c55 commit c03df5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundler/lib/bundler/stub_specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def activated=(activated)
stub.instance_variable_set(:@activated, activated)
end

def default_gem
stub.default_gem
def default_gem?
stub.default_gem?
end

def full_gem_path
Expand Down

0 comments on commit c03df5a

Please sign in to comment.