class Cucumber::EnRegexp

Public Class Methods

description() click to toggle source
# File lib/cucumber/en_snippet.rb, line 26
def self.description
  'Snippets with parentheses (English keywords)'
end

Public Instance Methods

typed_pattern() click to toggle source
# File lib/cucumber/en_snippet.rb, line 22
def typed_pattern
  "(/^#{pattern}$/)"
end