lib/twitter/geo_results.rb in twitter-5.15.0 vs lib/twitter/geo_results.rb in twitter-5.16.0
- old
+ new
@@ -5,11 +5,11 @@
class GeoResults
include Twitter::Enumerable
include Twitter::Utils
# @return [Hash]
attr_reader :attrs
- alias_method :to_h, :attrs
- alias_method :to_hash, :to_h
+ alias to_h attrs
+ alias to_hash to_h
deprecate_alias :to_hsh, :to_hash
# Initializes a new GeoResults object
#
# @param attrs [Hash]