class Cucumber::RbSupport::Snippet::Classic

Public Class Methods

description() click to toggle source
# File lib/cucumber/rb_support/snippet.rb, line 79
def self.description
  "Snippets without parentheses. Note that these cause a warning from modern versions of Ruby."
end

Public Instance Methods

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