wait_while() Instance Public methods Calls wait repeatedly while the given block yields a truthy value.
wait_until() Instance Public methods Calls wait repeatedly until the given block yields a truthy value.
wait(timeout = nil) Instance Public methods Releases the lock held in the associated monitor and waits; reacquires the lock on wakeup. If timeout is given, this method returns after timeout seconds passed, even if no other thread doesn't signal.
signal() Instance Public methods Wakes up the first thread in line waiting for this lock.
broadcast() Instance Public methods Wakes up all threads waiting for this lock.
new(monitor) Class Public methods
yaml_as(url) Instance Public methods Alias for: psych_yaml_as
mod.to_s â string Instance Public methods Return a string representing this module or class. For basic classes and modules, this is the name. For singletons, we show information on the thing we're attached to as well. inspect
remove_class_variable(sym) â obj Instance Public methods Removes the definition of the sym, returning that constant's value. class Dummy @@var = 99 puts @@var remove_class_variable(:@@var) p(defined? @@var) end produces: 99 nil
rake_original_const_missing(const_name) Instance Public methods Rename the original handler to make it available. const_missing
Page 1753 of 2275