class method self.new

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

self.new(app, options = {})

No documentation comment.

Parameters

app req
options opt = {}
Source
# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 139
      def initialize(app, options = {})
        @app = app
        @default_options = DEFAULT_OPTIONS.merge(options)
        @key = @default_options.delete(:key).freeze
        @cookie_only = @default_options.delete(:cookie_only)
        ensure_session_key!
      end

Defined in actionpack/lib/action_dispatch/middleware/session/abstract_store.rb line 139 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Session::AbstractStore

Type at least 2 characters to search.

↑↓ navigate · open · esc close