Guard undefs and use an object that implements :=~ in all Ruby versions for specs
Guard undefs and use an object that implements :=~ in all Ruby versions for specs

rspec/rspec-support,rspec/rspec-support