instance method _locals

Ruby on Rails 4.0.13

Since v4.0.13 Last seen in v4.2.9 Private

Available in: v4.0.13 v4.1.16 v4.2.9

Signature

_locals()

No documentation comment.

Source
# File activesupport/lib/active_support/core_ext/thread.rb, line 72
  def _locals
    if defined?(@_locals)
      @_locals
    else
      LOCK.synchronize { @_locals ||= {} }
    end
  end

Defined in activesupport/lib/active_support/core_ext/thread.rb line 72 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Thread

Type at least 2 characters to search.

↑↓ navigate · open · esc close