Sha256: 80202e347a030891c65a7a80e945f14d779cef5821b20e05f375922fc22da4c7

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require_relative "spec_finder"
require_relative "parser"

module RSpec
  module Permutations
    class Loader
      def initialize(name)
        @name = name
      end

      def permutations
        spec_file = RSpec::Permutations::SpecFinder.find
        RSpec::Permutations::Parser.new(spec_file).permutations(@name)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-permutations-1.0.0 lib/rspec/permutations/loader.rb