RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

roleful is a DSL for your classes that h...

roleful is a DSL for your classes that handles roles and permissions. All you have to do is declare your roles, then provide a #role instance method to determine what role(s) an object has. Roleful will then let you know what your object can and can’t do.

The point of it is not to implement something you couldn’t do better yourself. It’s to implement something well enough so you don’t have to think about it.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in