Permalink
Browse files

fixed packaged

  • Loading branch information...
1 parent 2511730 commit d5c65312be2ab3c83e0b6cd75e827911d18c212d @JoshCheek committed Nov 19, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/arsettings/packaged.rb
@@ -114,7 +114,7 @@ def define_method( name , &body ) # :nodoc:
end
def remove_method(name) # :nodoc:
- metaclass.send :remove_method , "#{setting}="
+ metaclass.send :remove_method , name
end
def add_setter(name) # :nodoc:
@@ -132,15 +132,15 @@ def add_boolean_getter(name) # :nodoc:
end
def remove_setter(name) # :nodoc:
- metaclass.send :remove_method , "#{name}="
+ remove_method "#{name}="
end
def remove_getter(name) # :nodoc:
- metaclass.send :remove_method , name
+ remove_method name
end
def remove_boolean_getter(name) # :nodoc:
- metaclass.send :remove_method , "#{name}?"
+ remove_method "#{name}?"
end
def method_missing(name,*args) # :nodoc:

0 comments on commit d5c6531

Please sign in to comment.