lib/rolypoly.rb in rolypoly-0.2.0 vs lib/rolypoly.rb in rolypoly-1.0.0

- old
+ new

@@ -1,2 +1,12 @@ require "rolypoly/version" require 'rolypoly/controller_role_dsl' + +module Rolypoly + + def self.define_gatekeepers(&block) + role_gatekeepers = RoleGatekeepers.new + role_gatekeepers.instance_eval(&block) + role_gatekeepers + end + +end