BasicObject
stolen from ActiveSupport
# File lib/airbrake/utils/blank.rb, line 4 def blank? respond_to?(:empty?) ? empty? : !self end
# File lib/airbrake/shared_tasks.rb, line 33 def heroku_var(var) `heroku config | grep -E "#{var.upcase}" | awk '{ print $3; }'`.strip end
# File lib/airbrake/utils/blank.rb, line 12 def presence self if present? end
# File lib/airbrake/utils/blank.rb, line 8 def present? !blank? end
# File lib/airbrake/rails3_tasks.rb, line 11 def wait_for_threads # if using multiple threads, we have to wait for # them to finish if GirlFriday.status.empty? Thread.list.each do |thread| thread.join unless thread == Thread.current end else GirlFriday.shutdown! end end
Generated with the Darkfish Rdoc Generator 2.