Class: GreenPepper::SupersetOfExampleFactory
- Inherits:
-
CollectionExampleFactory
- Object
- ExampleFactory
- CollectionExampleFactory
- GreenPepper::SupersetOfExampleFactory
- 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
55 56 57 |
# File 'lib/greenpepper/factory/collectionexamplefactory.rb', line 55 def do_create_example(fixture_name) SupersetOfExample.new fixture_name end |
#support?(table) ⇒ Boolean
51 52 53 |
# File 'lib/greenpepper/factory/collectionexamplefactory.rb', line 51 def support?(table) /^\s*superset\s*Of\s*$/i === table[0][0] end |