Method: Ditty::ApplicationPolicy::Scope#initialize

Defined in:
lib/ditty/policies/application_policy.rb

#initialize(user, scope) ⇒ Scope

Returns a new instance of Scope.



15
16
17
18
# File 'lib/ditty/policies/application_policy.rb', line 15

def initialize(user, scope)
  @user = user
  @scope = scope
end