Sha256: 620d8bd81c7445efc9b0ec997fcec885b62385e37de3970495b984a29a1be062

Contents?: true

Size: 186 Bytes

Versions: 24

Compression:

Stored size: 186 Bytes

Contents

import py_language

class Given(object):
  def __init__(self, regexp):
    self.regexp = regexp

  def __call__(self, f):
    py_language.register_step_def(self.regexp, f)
    return f

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
cucumber-1.3.20 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.19 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.18 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.17 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.16 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.15 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.14 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.13 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.12 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.11 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.10 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.9 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.8 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.7 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.6 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.5 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.4 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.3 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.2 lib/cucumber/py_support/py_dsl.py
cucumber-1.3.1 lib/cucumber/py_support/py_dsl.py