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.5.1"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
14
15
16
|
# File 'lib/pickle.rb', line 14
def config
@config ||= Config.new
end
|
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
|