lib/fusuma/plugin/inputs/appmatcher_input.rb in fusuma-plugin-appmatcher-0.1.0.pre vs lib/fusuma/plugin/inputs/appmatcher_input.rb in fusuma-plugin-appmatcher-0.1.0.pre2
- old
+ new
@@ -5,9 +5,11 @@
module Fusuma
module Plugin
module Inputs
# Get active application's name
class AppmatcherInput < Input
+ attr_reader :pid
+
def io
@backend ||= Appmatcher.backend_klass.new
@pid ||= begin
pid = @backend.watch_start