example(description=nil, options={}, backtrace=nil, &implementation)
  public
  
    
    
Creates an instance of the current example group
class and adds it
to a collection of examples of the
current example group.
   
  
    Show source    
    
      
      def example(description=nil, options={}, backtrace=nil, &implementation)
        example_proxy = ExampleProxy.new(description, options, backtrace || caller(0)[1])
        example_proxies << example_proxy
        example_implementations[example_proxy] = implementation || pending_implementation
        example_proxy
      end