Sha256: 05195b55f22d67f8cf0f118a1a816eff58d5a6ab2ff0c99b50c3101d8cee788f

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

require 'pickle'
require 'pickle/email'
require 'pickle/email/parser'

# add email parser expressions
Pickle::Parser.send :include, Pickle::Email::Parser

# make world pickle/email aware
World do |world|
  world.extend Pickle::Email
  world
end

# shortcuts for use in step regexps
class << self
  delegate :capture_email, :to => 'Pickle.parser'
end

Version data entries

5 entries across 5 versions & 1 rubygems

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