[SVN] r6354 (Ruby)

Alexander John Ross alex.j.ross at gmail.com
Fri Dec 15 21:16:36 UTC 2006


• Refactored the class ScriptMate. It now inherits from a class CommandMate. CommandMate can
  be used with any class implementing a "run" method that returns three file descriptors
  [stdout, stderr, stack_dump]. Use this class to achieve RubyMate-like output with any
  arbitrary command.
• Added a class UserCommand. It implements the aforementioned interface. Initialize it with a
  command and pass it to CommandMate.

Changed:
U   trunk/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb
U   trunk/Support/lib/scriptmate.rb



More information about the textmate-dev mailing list