Class: Cucumber::Glue::Snippet::Regexp
- Inherits:
-
BaseSnippet
- Object
- BaseSnippet
- Cucumber::Glue::Snippet::Regexp
- Defined in:
- lib/cucumber/glue/snippet.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from BaseSnippet
cli_option_string, #initialize, #step, #to_s
Constructor Details
This class inherits a constructor from Cucumber::Glue::Snippet::BaseSnippet
Class Method Details
.description ⇒ Object
124 125 126 |
# File 'lib/cucumber/glue/snippet.rb', line 124 def self.description 'Snippets with parentheses' end |
Instance Method Details
#typed_pattern ⇒ Object
120 121 122 |
# File 'lib/cucumber/glue/snippet.rb', line 120 def typed_pattern "(/^#{pattern}$/)" end |