lib/twitter/cursor.rb in twitter-4.4.2 vs lib/twitter/cursor.rb in twitter-4.4.3
- old
+ new
@@ -38,10 +38,10 @@
klass.fetch_or_new(item)
else
item
end
end
- class_eval do
+ singleton_class.class_eval do
alias_method(collection_name.to_sym, :collection)
end
end
# @param collection [Array]