class Cucumber::RbSupport::Snippet::Regexp

Public Class Methods

description() click to toggle source
# File lib/cucumber/rb_support/snippet.rb, line 84
def self.description
  "Snippets with parentheses"
end

Public Instance Methods

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