method
register
1.2.0 -
Show latest stable
- Class:
Spec::Example::SharedExampleGroup::ClassMethods
register(*args, &block)public
No documentation available.
# File lib/spec/example/shared_example_group.rb, line 5
def register(*args, &block)
new_example_group = new(*args, &block)
shared_example_groups << new_example_group unless already_registered?(new_example_group)
new_example_group
end