class RSpec::Core::Configuration

def alias_example_to(new_name, *args)

end
end
thing = Thing.new
it "does something", :pending => true do
describe Thing do

# ... which is the equivalent of

end
end
thing = Thing.new
pending "does something" do
describe Thing do

# This lets you do this:

alias_example_to :pending, :pending => true
@example

`args`. Used internally to add variants of `example` like `pending`:
Creates a method that delegates to `example` including the submitted
def alias_example_to(new_name, *args)
  extra_options = build_metadata_hash_from(args)
  RSpec::Core::ExampleGroup.define_example_method(new_name, extra_options)
end