Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…rator
  • Loading branch information...
commit a9dc32b9a0eb17b5d82571f67dbcb733e0e24daa 1 parent a96becd
@rsl authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/stringex/configuration/configurator.rb
View
4 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)
Please sign in to comment.
Something went wrong with that request. Please try again.