lib/spec/example/example_group.rb



module Spec
  module Example
    # Base class for customized example groups. Use this if you
    # want to make a custom example group.
    class ExampleGroup
      extend Spec::Example::ExampleGroupMethods
      include Spec::Example::ExampleMethods

      def initialize(defined_description, &implementation)
        @_defined_description = defined_description
        @_implementation = implementation
      end
    end
  end
end

Spec::ExampleGroup = Spec::Example::ExampleGroup