Sha256: 97dc2c4bf6663d195fbc0bc006500cb130fd7574f17ea437921c1009af75bc44

Contents?: true

Size: 489 Bytes

Versions: 5

Compression:

Stored size: 489 Bytes

Contents

# -*- encoding: utf-8 -*-

module WatchTower
  module Editor
    class Textmate
      include BaseAppscript

      protected
        # This method returns an instance of ::Appscript::Application
        #
        # returns [::Appscript::Application | nil]
        def editor
          app 'Textmate'
        rescue ::FindApp::ApplicationNotFoundError
          LOG.debug "#{__FILE__}:#{__LINE__ - 2}: Textmate application can't be found, maybe not installed?"
        end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
watch_tower-0.0.1.beta5 lib/watch_tower/editor/textmate.rb
watch_tower-0.0.1.beta4 lib/watch_tower/editor/textmate.rb
watch_tower-0.0.1.beta3 lib/watch_tower/editor/textmate.rb
watch_tower-0.0.1.beta2 lib/watch_tower/editor/textmate.rb
watch_tower-0.0.1.beta1 lib/watch_tower/editor/textmate.rb