spec/support/classes.rb in thirtythirty-0.1.0 vs spec/support/classes.rb in thirtythirty-0.2.2
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
class ThirtythirtyBase
extend Thirtythirty
end
class ThirtythirtyTree < ThirtythirtyBase
@@ -30,6 +31,11 @@
class WithSetterOnly < ThirtythirtyBase
marshal :ivar
def ivar=(value)
@ivar = value.nil? ? nil : value.upcase
end
+end
+
+class ThirtythirtyTree2 < ThirtythirtyBase
+ marshalled_accessor :persistent, :parent, :children
+ attr_accessor :transient
end