Sha256: 9aded224a2b28789c7c2cf7f98b3fc69631a5becf7a12a10289870647507a03f

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

require 'rspec/parameterized/ref_arg'
require 'rspec/parameterized/lazy_arg'
module RSpec
  module Parameterized
    module HelperMethods
      def ref(symbol)
        RefArg.new(symbol)
      end

      def lazy(&block)
        LazyArg.new(&block)
      end

      def self.applicable?(arg)
        arg.is_a? Arg
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-parameterized-0.5.3 lib/rspec/parameterized/helper_methods.rb
rspec-parameterized-0.5.2 lib/rspec/parameterized/helper_methods.rb
rspec-parameterized-0.5.1 lib/rspec/parameterized/helper_methods.rb
rspec-parameterized-0.5.0 lib/rspec/parameterized/helper_methods.rb