Permalink
Browse files

refactored name to be clearer for instance method creation on configu…

…rator
  • Loading branch information...
1 parent a96becd commit a9dc32b9a0eb17b5d82571f67dbcb733e0e24daa @rsl committed Dec 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/stringex/configuration/configurator.rb
@@ -7,11 +7,11 @@ def initialize(klass)
@klass = klass
self.klass.valid_configuration_details.each do |name|
- define_instance_method name
+ define_instance_method_for_configuration_wrapper name
end
end
- def define_instance_method(name)
+ def define_instance_method_for_configuration_wrapper(name)
(class << self; self; end).instance_eval do
define_method("#{name}=") do |value|
customizations = klass.send(:system_wide_customizations)

0 comments on commit a9dc32b

Please sign in to comment.