docs/nullify.md in clowne-0.2.0 vs docs/nullify.md in clowne-1.0.0
- old
+ new
@@ -19,18 +19,18 @@
trait :nullify_surname do
nullify :surname
end
end
-clone = UserCloner.call(user)
+clone = UserCloner.call(user).to_record
clone.name.nil?
# => true
clone.email.nil?
# => true
clone.surname.nil?
# => false
-clone2 = UserCloner.call(user, traits: :nullify_surname)
+clone2 = UserCloner.call(user, traits: :nullify_surname).to_record
clone2.name.nil?
# => true
clone2.surname.nil?
# => true
```