Class: Cucumber::RbSupport::Snippet::Percent
- Inherits:
-
BaseSnippet
- Object
- BaseSnippet
- Cucumber::RbSupport::Snippet::Percent
- 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
101 102 103 |
# File 'lib/cucumber/rb_support/snippet.rb', line 101 def self.description "Snippets with percent regexp" end |
Instance Method Details
#typed_pattern ⇒ Object
97 98 99 |
# File 'lib/cucumber/rb_support/snippet.rb', line 97 def typed_pattern " %r{^#{pattern}$}" end |