changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/lib/spec/example/example_group.rb

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1module Spec
2 module Example
3 # The superclass for all regular RSpec examples.
4 class ExampleGroup
5 extend Spec::Example::ExampleGroupMethods
6 include Spec::Example::ExampleMethods
7
8 def initialize(defined_description, &implementation)
9 @_defined_description = defined_description
10 @_implementation = implementation
11 end
12 end
13 end
14end
15
16Spec::ExampleGroup = Spec::Example::ExampleGroup