Class: Cucumber::RbSupport::Snippet::Regexp
- Inherits:
-
BaseSnippet
- Object
- BaseSnippet
- Cucumber::RbSupport::Snippet::Regexp
- Defined in:
- lib/cucumber/rb_support/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::RbSupport::Snippet::BaseSnippet
Class Method Details
.description ⇒ Object
69 70 71 |
# File 'lib/cucumber/rb_support/snippet.rb', line 69 def self.description "Snippets with parentheses" end |
Instance Method Details
#typed_pattern ⇒ Object
65 66 67 |
# File 'lib/cucumber/rb_support/snippet.rb', line 65 def typed_pattern "(/^#{pattern}$/)" end |