Class: Cucumber::Glue::Snippet::Percent
- Inherits:
-
BaseSnippet
- Object
- BaseSnippet
- Cucumber::Glue::Snippet::Percent
- 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
144 145 146 |
# File 'lib/cucumber/glue/snippet.rb', line 144 def self.description 'Snippets with percent regexp' end |
Instance Method Details
#typed_pattern ⇒ Object
140 141 142 |
# File 'lib/cucumber/glue/snippet.rb', line 140 def typed_pattern " %r{^#{pattern}$}" end |