Skip to content
Snippets Groups Projects
Commit 82df1150 authored by Alex Reisner's avatar Alex Reisner
Browse files

Clarify deprecation warning.

parent e981e24d
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ module Geocoder::Result ...@@ -80,7 +80,7 @@ module Geocoder::Result
end end
define_method 'class' do define_method 'class' do
warn "Method 'class' is deprecated. Use 'place_class' instead" warn "DEPRECATION WARNING: The 'class' method of Geocoder::Result::Nominatim objects is deprecated and will be removed in Geocoder version 1.2.0. Please use 'place_class' instead."
@data['class'] @data['class']
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment