Class: GreenPepper::SetOfExampleFactory
- Inherits:
-
CollectionExampleFactory
- Object
- ExampleFactory
- CollectionExampleFactory
- GreenPepper::SetOfExampleFactory
- Defined in:
- lib/greenpepper/factory/collectionexamplefactory.rb
Instance Method Summary collapse
Methods inherited from CollectionExampleFactory
Methods inherited from ExampleFactory
Instance Method Details
#do_create_example(fixture_name) ⇒ Object
35 36 37 |
# File 'lib/greenpepper/factory/collectionexamplefactory.rb', line 35 def do_create_example(fixture_name) SetOfExample.new fixture_name end |
#support?(table) ⇒ Boolean
31 32 33 |
# File 'lib/greenpepper/factory/collectionexamplefactory.rb', line 31 def support?(table) /^\s*set\s*Of\s*$/i === table[0][0] end |