Module: Pickle

Defined in:
lib/pickle.rb,
lib/pickle/path.rb,
lib/pickle/email.rb,
lib/pickle/config.rb,
lib/pickle/parser.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, Version Classes: Adapter, Config, Parser

Class Method Summary collapse

Class Method Details

.configObject



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

def config
  @config ||= Config.new
end

.configure(&block) ⇒ Object



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

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

.parser(options = {}) ⇒ Object



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

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