lib/permissive.rb in permissive-0.0.1 vs lib/permissive.rb in permissive-0.2.0.alpha
- old
+ new
@@ -1,15 +1,17 @@
-require 'permissive/permission'
-require 'permissive/acts_as_permissive'
-require 'permissive/permissions'
+require 'permissive/errors'
+require 'permissive/has_permissions'
module Permissive
- @@strong = false
-
- def self.strong
- @@strong
- end
-
- def self.strong=(new_strong)
- @@strong = !!new_strong
- end
+ # @@strong = false
+ #
+ # def self.strong
+ # @@strong
+ # end
+ #
+ # def self.strong=(new_strong)
+ # @@strong = !!new_strong
+ # end
+ #
+ autoload(:Permission, 'permissive/permission')
+ autoload(:PermissionDefinition, 'permissive/permission_definition')
end
\ No newline at end of file