Sha256: 5296c1d4552caa0600a2cce28339a4f198a57ec411cf68f7ac0f68c61449f16e

Contents?: true

Size: 583 Bytes

Versions: 57

Compression:

Stored size: 583 Bytes

Contents

require 'active_support'
require 'pickle/version'
require 'pickle/adapter'
require 'pickle/config'
require 'pickle/parser'
require 'pickle/session'
require 'pickle/session/parser'

# make the parser aware of models in the session (for fields refering to models)
Pickle::Parser.send :include, Pickle::Session::Parser

module Pickle
  class << self
    def config
      @config ||= Config.new
    end
    
    def configure(&block)
      config.configure(&block)
    end
  
    def parser(options = {})
      @parser ||= Parser.new({:config => config}.merge(options))
    end
  end
end

Version data entries

57 entries across 57 versions & 6 rubygems

Version Path
pickle-0.5.0 lib/pickle.rb
ianwhite-pickle-0.1.10 lib/pickle.rb
ianwhite-pickle-0.1.11 lib/pickle.rb
ianwhite-pickle-0.1.12 lib/pickle.rb
ianwhite-pickle-0.1.13 lib/pickle.rb
ianwhite-pickle-0.1.14 lib/pickle.rb
ianwhite-pickle-0.1.15 lib/pickle.rb
ianwhite-pickle-0.1.6 lib/pickle.rb
ianwhite-pickle-0.1.8 lib/pickle.rb
ianwhite-pickle-0.1.9 lib/pickle.rb
mrflip-pickle-0.1.13 lib/pickle.rb
pickle-0.4.11 lib/pickle.rb
pickle-0.4.10 lib/pickle.rb
pickle-0.4.9 lib/pickle.rb
pickle-0.4.8 lib/pickle.rb
pickle-0.4.7 lib/pickle.rb
pickle-0.4.6 lib/pickle.rb
pickle-0.4.5 lib/pickle.rb
pickle-0.4.4 lib/pickle.rb
judit-pickle-0.4.2 lib/pickle.rb