Sha256: e273b0d9d6f89b0567140f3062b8a5b9573fb98bd483619887cfb60e92fcd470

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

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

begin
  require 'appscript'
rescue LoadError
  # Define a part of the Appscript gem so WatchTower is fully operational
  module ::Appscript
    CommandError = Class.new(Exception)
    def app(*args)
      raise ::WatchTower::AppscriptNotLoadedError
    end
  end

  module ::FindApp
    ApplicationNotFoundError = Class.new(Exception)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watch_tower-0.0.1.beta6 lib/watch_tower/appscript.rb