Module: GetText::RGetText
- Defined in:
- lib/gettext/tools/xgettext.rb
Class Method Summary collapse
Class Method Details
.run(paths = nil, out = STDOUT) ⇒ Object
365 366 367 368 369 370 371 372 373 374 375 |
# File 'lib/gettext/tools/xgettext.rb', line 365 def run(paths=nil, out=STDOUT) warn("Warning: This method is obsolete. " + "Please use GetText::Tools::XGetText.run.") if paths.nil? GetText::Tools::XGetText.run(*ARGV) elsif out == STDOUT GetText::Tools::XGetText.run(paths) else GetText::Tools::XGetText.run("-o", out, paths) end end |