File: rspec.rb

package info (click to toggle)
ruby-enumerize 2.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 432 kB
  • sloc: ruby: 3,712; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true

require 'rspec/matchers'
require 'enumerize/integrations/rspec/matcher'

module Enumerize
  module Integrations
    module RSpec
      def enumerize(attr)
        ::Enumerize::Integrations::RSpec::Matcher.new(attr)
      end
    end
  end
end

module RSpec
  module Matchers
    include Enumerize::Integrations::RSpec
  end
end