APIdock / Ruby
/
method

notify

ruby latest stable - Class: Shell ::CommandProcessor
notify(*opts)
public

%pwd, %cwd -> @pwd

# File lib/shell/command-processor.rb, line 344
 def notify(*opts)
 Shell.notify(*opts) {|mes|
 yield mes if iterator?
 mes.gsub!("%pwd", "#{@cwd}")
 mes.gsub!("%cwd", "#{@cwd}")
 }
 end

AltStyle によって変換されたページ (->オリジナル) /