# File lib/declarative_authorization/authorization.rb, line 334 def initialize (role, privileges = [], contexts = nil, join_operator = :or, options = {}) @role = role @privileges = Set.new(privileges) @contexts = Set.new((contexts && !contexts.is_a?(Array) ? [contexts] : contexts)) @join_operator = join_operator @attributes = [] @source_file = options[:source_file] @source_line = options[:source_line] end