Flowdock
notify(*opts, &block) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/shell.rb, line 244
  def self.notify(*opts, &block)
    Thread.exclusive do
    if opts[-1].kind_of?(String)
      yorn = verbose?
    else
      yorn = opts.pop
    end
    return unless yorn

    _head = true
    print opts.collect{|mes|
      mes = mes.dup
      yield mes if iterator?
      if _head
        _head = false
        "shell: " + mes
      else
        "       " + mes
      end
    }.join("\n")+"\n"
    end
  end
Register or log in to add new notes.