README.md in much-result-0.1.1 vs README.md in much-result-0.1.2
- old
+ new
@@ -57,9 +57,18 @@
other_value2: "something else 2"
)
result.message # => "it worked!"
result.other_value1 # => "something else 1"
result.other_value2 # => "something else 2"
+
+result.attribute_names # => [:message, :other_value1, :other_value2]
+
+result.attributes
+# => {
+# message: "it worked!",
+# other_value1: "something else 1",
+# other_value2: "something else 2"
+# }
```
### Capture sub-Results
Capture MuchResults for sub-operations into a parent MuchResult: