Sha256: 72385b61e43ecaaf47f232ed1c8ddec3f76e5dcb83e301679da9d5dae2cf2de7
Contents?: true
Size: 242 Bytes
Versions: 7
Compression:
Stored size: 242 Bytes
Contents
shared_context 'predicate helper' do def p(name, *args) predicates[name].curry(*args).to_ast end let!(:predicates) do Module.new { include Dry::Logic::Predicates predicate(:email?) { |value| true } } end end
Version data entries
7 entries across 7 versions & 1 rubygems