Permalink
Browse files

Ruby 1.9 compat, welcome to 2009!

  • Loading branch information...
1 parent b3f39bd commit 3a4da78ddba44849f26d3f82448d92ccfa710c96 @niels niels committed Jun 11, 2009
Showing with 3 additions and 1 deletion.
  1. +1 −1 lib/geokit/geocoders.rb
  2. +2 −0 test/test_inflector.rb
@@ -81,7 +81,7 @@ module Geocoders
def self.__define_accessors
class_variables.each do |v|
- sym = v.delete("@").to_sym
+ sym = v.to_s.delete("@").to_sym
unless self.respond_to? sym
module_eval <<-EOS, __FILE__, __LINE__
def self.#{sym}
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'test/unit'
require 'lib/geokit'

0 comments on commit 3a4da78

Please sign in to comment.