lib/descendants_describable.rb in descendants_describable-0.0.1 vs lib/descendants_describable.rb in descendants_describable-0.0.2
- old
+ new
@@ -39,10 +39,10 @@
if self.new_class.present?
add_module @description_module.const_get(method.to_s.camelize)
else
@common_modules << @description_module.const_get(method.to_s.camelize)
yield if block_given?
- @common_modules.shift
+ @common_modules.pop
end
end
def respond_to?(method)
@description_module.const_get(method.to_s.camelize) rescue false
\ No newline at end of file