lib/trole/operations.rb in troles-0.6.0 vs lib/trole/operations.rb in troles-0.6.1
- old
+ new
@@ -7,11 +7,10 @@
# - user.roles + :admin
# - user.roles.clear!
#
module Trole
class Operations
- autoload :Read, 'trole/operations/read'
- autoload :Write, 'trole/operations/write'
+ autoload_modules :Read, :Write
include Read
include Write
include Enumerable