Class: PermissionSettings::VerifyInstance

Inherits:
Verify
  • Object
show all
Defined in:
lib/permission_settings/verify_instance.rb

Overview

comment

Instance Method Summary collapse

Methods inherited from Verify

call, #initialize

Constructor Details

This class inherits a constructor from PermissionSettings::Verify

Instance Method Details

#callObject



8
9
10
11
12
13
# File 'lib/permission_settings/verify_instance.rb', line 8

def call
  super
  return permission_value unless block_given?

  permission_value && block.call
end