davydovanton / kan

Simple, functional authorization library and role management for ruby
http://www.kanrb.org
MIT License
232 stars 12 forks source link

Syntax errors in the readme #9

Closed elia closed 6 years ago

elia commented 6 years ago

Was looking at the README and seems that all the inline blocks are missing parens around the arguments, e.g.:

  register 'read' { |_, _| true }

should be:

  register('read') { |_, _| true }
davydovanton commented 6 years ago

Hey, awesome catch! Could you make PR for this? 💗

wizardone commented 6 years ago

@elia If you can't do it I am happy to fix those, since it is a small change.

berniechiu commented 6 years ago

Help added https://github.com/davydovanton/kan/pull/14

davydovanton commented 6 years ago

Thanks for you help, folks! <3