method

add_spec_path_to

rspec latest stable - Class: Spec::Example

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.2.0) is shown here.

add_spec_path_to(args)
public

No documentation available.

# File lib/spec/example.rb, line 161
      def add_spec_path_to(args) # :nodoc:
        args << {} unless Hash === args.last
        args.last[:spec_path] ||= caller(0)[2]
      end