Sha256: ad0ec1a4414571aee5e94fdc8eebb067c47f019eceb2dd9cc05644b09ecc43bf
Contents?: true
Size: 302 Bytes
Versions: 25
Compression:
Stored size: 302 Bytes
Contents
module LucidPolicy class Helper < BasicObject attr_reader :result def initialize @result = :deny end def allow @result = :allow nil end def deny nil end def current_user Isomorfeus.current_user end end end
Version data entries
25 entries across 25 versions & 1 rubygems