Sha256: 9ddb454c1e9658f6a0990bfd400639deb599dc91a107837b08cc0ca2616b47d3

Contents?: true

Size: 320 Bytes

Versions: 5

Compression:

Stored size: 320 Bytes

Contents

require 'pickle'

# make cucumber world pickle aware
World do |world|
  world.extend Pickle::Session
  world
end

# shortcuts to regexps for use in step definition regexps
class << self
  delegate :capture_model, :capture_fields, :capture_factory, :capture_plural_factory, :capture_predicate, :to => 'Pickle.parser'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ianwhite-pickle-0.1.10 lib/pickle/world.rb
ianwhite-pickle-0.1.11 lib/pickle/world.rb
ianwhite-pickle-0.1.6 lib/pickle/world.rb
ianwhite-pickle-0.1.8 lib/pickle/world.rb
ianwhite-pickle-0.1.9 lib/pickle/world.rb