File: setup.rb

package info (click to toggle)
ruby-dry-logic 1.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 728 kB
  • sloc: ruby: 4,929; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require "benchmark/ips"
require "hotch"
ENV["HOTCH_VIEWER"] ||= "open"

require "dry/logic"
require "dry/logic/predicates"

def profile(&block)
  Hotch(filter: "Dry", &block)
end