_load_without_zone

_load_without_zone(marshaled_time) Class Public methods Alias for: _load

_load

_load(marshaled_time) Class Public methods Also aliased as: _load_without_zone

===

===(other) Class Public methods Overriding case equality method so that it returns true for ActiveSupport::TimeWithZone instances

thread_variables

thread_variables() Instance Public methods Returns an array of the names of the thread-local variables (as Symbols). thr = Thread.new do Thread.current.thread_variable_set(:cat, 'meow') Thread.current.thread_variable_set("dog", 'woof') end thr.join # => #<Thread:0x401b3f10 dead> thr.thread_variables # => [:dog, :cat] Note that these are not fiber local variables. Please see #thread_variable_get for more details.

thread_variable_set

thread_variable_set(key, value) Instance Public methods Sets a thread local with key to value. Note that these are local to threads, and not to fibers. Please see #thread_variable_get for more information.

thread_variable_get

thread_variable_get(key) Instance Public methods Returns the value of a thread local variable that has been set. Note that these are different than fiber local values. Thread local values are carried along with threads, and do not respect fibers. For example: Thread.new { Thread.current.thread_variable_set("foo", "bar") # set a thread local Thread.current["foo"] = "bar" # set a fiber local Fiber.new { Fiber.yield [ Thread.current.thread_variable_

thread_variable?

thread_variable?(key) Instance Public methods Returns true if the given string (or symbol) exists as a thread-local variable. me = Thread.current me.thread_variable_set(:oliver, "a") me.thread_variable?(:oliver) # => true me.thread_variable?(:stanley) # => false Note that these are not fiber local variables. Please see #thread_variable_get for more details.

freeze

freeze() Instance Public methods

yield_content_for

yield_content_for() Instance Public methods

send_mail

send_mail() Instance Public methods