Skip to content

Instantly share code, notes, and snippets.

@LTe
Created January 9, 2012 08:22
Show Gist options
  • Save LTe/1581884 to your computer and use it in GitHub Desktop.
Save LTe/1581884 to your computer and use it in GitHub Desktop.
gookig.diff
diff --git a/lib/geokit/geocoders.rb b/lib/geokit/geocoders.rb
index c407141..c9f457c 100644
--- a/lib/geokit/geocoders.rb
+++ b/lib/geokit/geocoders.rb
@@ -83,7 +83,7 @@ module Geokit
def self.__define_accessors
class_variables.each do |v|
- sym = v.to_s.delete("@").to_sym
+ sym = v.delete("@").to_sym
unless self.respond_to? sym
module_eval <<-EOS, __FILE__, __LINE__
def self.#{sym}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment