From d58fed7daa652b17f853f36e1a027e8806c1b979 Mon Sep 17 00:00:00 2001
From: Alex Reisner <alex@alexreisner.com>
Date: Tue, 10 Apr 2012 21:16:56 -0400
Subject: [PATCH] Rename CONFIGURABLE to OPTIONS.

---
 lib/geocoder/configuration.rb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/geocoder/configuration.rb b/lib/geocoder/configuration.rb
index 795258c0..b1547b2e 100644
--- a/lib/geocoder/configuration.rb
+++ b/lib/geocoder/configuration.rb
@@ -44,7 +44,7 @@ module Geocoder
   class Configuration
     include Singleton
 
-    CONFIGURABLE = [
+    OPTIONS = [
       :timeout,
       :lookup,
       :language,
@@ -59,7 +59,7 @@ module Geocoder
       :distances
     ]
 
-    attr_accessor *CONFIGURABLE
+    attr_accessor *OPTIONS
 
     def initialize  # :nodoc
       set_defaults
@@ -89,15 +89,15 @@ module Geocoder
 
     # Delegates getters and setters for all configuration settings,
     # and +set_defaults+ to the singleton instance.
-    instance_eval(CONFIGURABLE.map do |method|
-      meth = method.to_s
+    instance_eval(OPTIONS.map do |option|
+      o = option.to_s
       <<-EOS
-      def #{meth}
-        instance.#{meth}
+      def #{o}
+        instance.#{o}
       end
 
-      def #{meth}=(value)
-        instance.#{meth} = value
+      def #{o}=(value)
+        instance.#{o} = value
       end
       EOS
     end.join("\n\n"))
-- 
GitLab