module Spec::Example::ExampleGroupMethods

def example(description=nil, options={}, backtrace=nil, &implementation)

a collection of examples of the current example group.
Creates an instance of the current example group class and adds it to
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