Class: LucidPolicy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/isomorfeus_policy/lucid_policy/base.rb

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/isomorfeus_policy/lucid_policy/base.rb', line 3

def self.inherited(base)
  base.include LucidPolicy::Mixin
  if RUBY_ENGINE != 'opal'
    Isomorfeus.add_valid_policy_class(base)
  end
end