Class: GreenPepper::SilentExampleFactory
- Inherits:
-
ExampleFactory
- Object
- ExampleFactory
- GreenPepper::SilentExampleFactory
- Defined in:
- lib/greenpepper/factory/silentexamplefactory.rb
Instance Method Summary collapse
Methods inherited from ExampleFactory
Instance Method Details
#create_example(table) ⇒ Object
12 13 14 |
# File 'lib/greenpepper/factory/silentexamplefactory.rb', line 12 def create_example(table) SilentExample.new end |
#support?(table) ⇒ Boolean
16 17 18 |
# File 'lib/greenpepper/factory/silentexamplefactory.rb', line 16 def support?(table) /^\s*silent\s*$/i === table[0][0] end |