lib/pickle/world.rb in ianwhite-pickle-0.1.11 vs lib/pickle/world.rb in ianwhite-pickle-0.1.12

- old
+ new

@@ -1,11 +1,8 @@ require 'pickle' # make cucumber world pickle aware -World do |world| - world.extend Pickle::Session - world -end +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, :to => 'Pickle.parser' end