Sha256: ca972b11a7db67b3a46390d88ce7ca96aa5985419612876d81d7ba4792cffeb4

Contents?: true

Size: 574 Bytes

Versions: 30

Compression:

Stored size: 574 Bytes

Contents

require 'pickle'

# auto require for active record, datamapper and mongoid
require 'pickle/adapters/active_record' if defined?(ActiveRecord::Base)
require 'pickle/adapters/data_mapper'   if defined?(DataMapper::Resource)
require 'pickle/adapters/mongoid'       if defined?(Mongoid::Document)

# make cucumber world pickle aware
World(Pickle::Session)

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

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
pickle-0.9.0 lib/pickle/world.rb
pickle-0.8.0 lib/pickle/world.rb
pickle-0.7.2 lib/pickle/world.rb
pickle-0.7.1 lib/pickle/world.rb
pickle-0.7.0 lib/pickle/world.rb
pickle-0.6.2 lib/pickle/world.rb
pickle-0.6.1 lib/pickle/world.rb
pickle-0.6.0 lib/pickle/world.rb
pickle-0.5.5 lib/pickle/world.rb
pickle-0.5.4 lib/pickle/world.rb
pickle-0.5.3 lib/pickle/world.rb
pickle-0.5.2 lib/pickle/world.rb
spbtv_pickle-0.5.2 lib/pickle/world.rb
spbtv_pickle-0.5.1 lib/pickle/world.rb
pickle-0.5.1 lib/pickle/world.rb
pickle-0.5.0 lib/pickle/world.rb
pickle-0.4.11 lib/pickle/world.rb
pickle-0.4.10 lib/pickle/world.rb
pickle-0.4.9 lib/pickle/world.rb
pickle-0.4.8 lib/pickle/world.rb