README.md in u-attributes-1.0.0 vs README.md in u-attributes-1.0.1
- old
+ new
@@ -547,10 +547,10 @@
#---------------------------#
# Samples passing some data #
#---------------------------#
-job_null = Job.new({})
+job_null = Job.new(id: nil, state: nil)
p job.id # nil
p job.state # nil
job = Job.new(id: 1, state: 'sleeping')