method
add_spec_path_to
1.1.12 -
Show latest stable
- Class:
Spec::Example
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