Module: Pickle

Defined in:
lib/pickle.rb,
lib/pickle/path.rb,
lib/pickle/email.rb,
lib/pickle/parser.rb,
lib/pickle/config.rb,
lib/pickle/adapter.rb,
lib/pickle/session.rb,
lib/pickle/version.rb,
lib/pickle/email/parser.rb,
lib/pickle/session/parser.rb,
lib/pickle/parser/matchers.rb

Defined Under Namespace

Modules: Email, Path, Session Classes: Adapter, Config, Parser

Constant Summary

VERSION =
"0.4.11"

Class Method Summary (collapse)

Class Method Details

+ (Object) config



14
15
16
# File 'lib/pickle.rb', line 14

def config
  @config ||= Config.new
end

+ (Object) configure(&block)



18
19
20
# File 'lib/pickle.rb', line 18

def configure(&block)
  config.configure(&block)
end

+ (Object) parser(options = {})



22
23
24
# File 'lib/pickle.rb', line 22

def parser(options = {})
  @parser ||= Parser.new({:config => config}.merge(options))
end