lib/maintain/maintainer.rb in maintain-0.2.12 vs lib/maintain/maintainer.rb in maintain-0.2.13
- old
+ new
@@ -177,10 +177,10 @@
def hooks
@hooks ||= {}
end
def maintainee
- @_maintainee ||= @maintainee.split('::').inject(Object) {|mod, const| mod.const_get(const) }
+ @maintainee.split('::').inject(Object) {|mod, const| mod.const_get(const) }
end
def method_free?(method_name, class_method = false)
# Ugly hack so we don't fetch it 100 times for no reason
maintainee_class = maintainee
\ No newline at end of file