Sha256: ce612620aa4739bb666ed4d830809de51ef15e0bce0bf1c1d94a5ce0f9f899a1
Contents?: true
Size: 477 Bytes
Versions: 2
Compression:
Stored size: 477 Bytes
Contents
module Debugger if RUBY_PLATFORM =~ /darwin/ class TextMateCommand < Command def regexp /^\s*tm(?:ate)?$/ end def execute %x|open 'txmt://open?url=file://#{File.expand_path(@state.file)}&line=#{@state.line}'| end class << self def help_command 'tmate' end def help(cmd) %{ tm[ate]\topens a current file in TextMate } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-debug-0.3-mswin32 | lib/ruby-debug/commands/tmate.rb |
ruby-debug-0.3 | lib/ruby-debug/commands/tmate.rb |