lib/roles_generic/role.rb in roles_generic-0.3.5 vs lib/roles_generic/role.rb in roles_generic-0.3.6
- old
+ new
@@ -1,14 +1,5 @@
-module Roles::Base
- def valid_roles_are(*role_list)
- strategy_class.valid_roles = role_list.to_symbols
- if role_class_name
- role_list.each do |name|
- role_class_name.new(name)
- end
- end
- end
-end
+require 'roles_generic/roles_base'
class Role
attr_accessor :name
def self.find_role role_name