Navigation Menu

Skip to content

Commit

Permalink
skip remove_method in collection, reintroduces mri errors but allows …
Browse files Browse the repository at this point in the history
…rbx to function
  • Loading branch information
geemus committed Nov 4, 2010
1 parent 0a9bb3b commit 906c292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
*.gem
*.rbc
*.sw?
.bundle
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion lib/fog/core/collection.rb
Expand Up @@ -17,7 +17,7 @@ def #{method}(*args)

%w[reject select].each do |method|
class_eval <<-RUBY
remove_method :#{method}
# remove_method :#{method}
def #{method}(*args)
unless @loaded
lazy_load
Expand Down

0 comments on commit 906c292

Please sign in to comment.