Skip to content

Commit

Permalink
fix: Simplify Reload API (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie authored Oct 9, 2024
1 parent 3e75e41 commit 81325b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rate_center (0.1.4)
rate_center (0.1.5)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion lib/rate_center/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def collection
end

def reload!
@collection = load_collection
@collection = nil
end

def all
Expand Down

0 comments on commit 81325b9

Please sign in to comment.