Sha256: e94d3956814bf9c02959e359f5733ef0e0d3e542716a3bc9e7b46096d3c6a32c

Contents?: true

Size: 156 Bytes

Versions: 16

Compression:

Stored size: 156 Bytes

Contents

module Railjet
  module Util
    module PolicyHelper
      def policy(klass, *args)
        klass.new(context, *args).validate!
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
railjet-4.0.0 lib/railjet/util/policy_helper.rb
railjet-3.5.0 lib/railjet/util/policy_helper.rb
railjet-3.4.0 lib/railjet/util/policy_helper.rb
railjet-3.3.0 lib/railjet/util/policy_helper.rb
railjet-3.2.0 lib/railjet/util/policy_helper.rb
railjet-3.1.0 lib/railjet/util/policy_helper.rb
railjet-3.0.0 lib/railjet/util/policy_helper.rb
railjet-2.1.1 lib/railjet/util/policy_helper.rb
railjet-2.1 lib/railjet/util/policy_helper.rb
railjet-2.0 lib/railjet/util/policy_helper.rb
railjet-2.0.pre4 lib/railjet/util/policy_helper.rb
railjet-2.0.pre3 lib/railjet/util/policy_helper.rb
railjet-2.0.pre2 lib/railjet/util/policy_helper.rb
railjet-2.0.pre1 lib/railjet/util/policy_helper.rb
railjet-2.0.pre lib/railjet/util/policy_helper.rb
railjet-1.0.1 lib/railjet/util/policy_helper.rb