lib/inheritable_class_attributes.rb in radiant-0.5.2 vs lib/inheritable_class_attributes.rb in radiant-0.6.0
- old
+ new
@@ -46,10 +46,10 @@
cattr_inheritable_writer(*symbols)
cattr_inheritable_reader(*symbols)
end
def inherited_with_inheritable_class_attributes(klass)
- inherited_without_inheritable_class_attributes(child) if respond_to?(:inherited_without_inheritable_class_attributes)
+ inherited_without_inheritable_class_attributes(klass) if respond_to?(:inherited_without_inheritable_class_attributes)
readers = inheritable_cattr_readers.dup
writers = inheritable_cattr_writers.dup
inheritables = [:inheritable_cattr_readers, :inheritable_cattr_writers]
\ No newline at end of file