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 Classes: Adapter, Config, Parser

Constant Summary collapse

VERSION =
"0.6.1"

Class Method Summary collapse

Class Method Details

.configObject


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

def config
  @config ||= Config.new
end

.configure(&block) ⇒ Object


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

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

.parser(options = {}) ⇒ Object


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

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