Class: Cucumber::RbSupport::Snippet::Classic
- Inherits:
-
BaseSnippet
- Object
- BaseSnippet
- Cucumber::RbSupport::Snippet::Classic
- 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
91 92 93 |
# File 'lib/cucumber/rb_support/snippet.rb', line 91 def self.description "Snippets without parentheses. Note that these cause a warning from modern versions of Ruby." end |
Instance Method Details
#typed_pattern ⇒ Object
87 88 89 |
# File 'lib/cucumber/rb_support/snippet.rb', line 87 def typed_pattern " /^#{pattern}$/" end |