Class: FSEvent::ProcessDeviceC::StubFramework

Inherits:
Object
  • Object
show all
Defined in:
lib/fsevent/processdevicec.rb

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ StubFramework

Returns a new instance of StubFramework.



20
21
22
# File 'lib/fsevent/processdevicec.rb', line 20

def initialize(obj)
  @obj = obj
end

Instance Method Details

#add_watch(watchee_device_name, status_name) ⇒ Object



24
25
26
# File 'lib/fsevent/processdevicec.rb', line 24

def add_watch(watchee_device_name, status_name)
  @obj.call_parent(:add_watch, watchee_device_name, status_name)
end

#modify_status(status_name, value) ⇒ Object



28
29
30
# File 'lib/fsevent/processdevicec.rb', line 28

def modify_status(status_name, value)
  @obj.call_parent(:modify_status, status_name, value)
end