README.md in policy-1.0.5 vs README.md in policy-1.1.0
- old
+ new
@@ -99,9 +99,23 @@
end
```
Note a policy knows nothing about the complex nature of its attributes until their quack like transactions with `#sum` method defined.
+### Scaffolding a Policy
+
+You can scaffold the policy with its specification and necessary translations using the generator:
+
+```
+policy new
+```
+
+For a list of available options call the generator with a `-h` option:
+
+```
+policy new -h
+```
+
[Struct]: http://ruby-doc.org//core-2.2.0/Struct.html
[ActiveModel::Validations]: http://apidock.com/rails/ActiveModel/Validations
## Following a Policy