Class: ExampleGroup
- Inherits:
-
Object
- Object
- ExampleGroup
- Defined in:
- lib/pidgin_spec/example_group.rb
Instance Method Summary collapse
- #e_go(spec_statement, &block) ⇒ Object (also: #e_dey)
-
#initialize(des_statement, klass, &block) ⇒ ExampleGroup
constructor
A new instance of ExampleGroup.
Constructor Details
#initialize(des_statement, klass, &block) ⇒ ExampleGroup
Returns a new instance of ExampleGroup.
2 3 4 5 6 |
# File 'lib/pidgin_spec/example_group.rb', line 2 def initialize(des_statement, klass, &block) @des_statement = des_statement @klass = klass instance_eval(&block) end |