README.md in kindergarten-0.0.5 vs README.md in kindergarten-0.1.0
- old
+ new
@@ -27,10 +27,10 @@
child = User.find(2)
# define a module (perimeter) for the child to play in
class MyPlayModule < Kindergarten::Perimeter
# use can-can rules to govern the perimeter
- govern do |child|
+ govern do
can :watch, Television
cannot :watch, CableTV
can :eat, Candy do |candy|
child.quotum.allows(candy)