def deprecated(&block)
  block.call unless ENV['RSPEC_DISABLE_DEPRECATED_FEATURES'] == 'true'
end


syntax highlighted by Code2HTML, v. 0.9.1