Class: Uberspec::Notify::LibNotify

Inherits:
Base
  • Object
show all
Defined in:
lib/uberspec/notify/lib_notify.rb

Instance Attribute Summary

Attributes inherited from Base

#failure_image, #passing_image, #stats

Instance Method Summary collapse

Methods inherited from Base

#initialize, #notify

Constructor Details

This class inherits a constructor from Uberspec::Notify::Base

Instance Method Details

#bodyObject



13
14
15
# File 'lib/uberspec/notify/lib_notify.rb', line 13

def body
  "'#{super}'"
end

#commandObject



5
6
7
# File 'lib/uberspec/notify/lib_notify.rb', line 5

def command
  'notify-send'
end

#imageObject



17
18
19
# File 'lib/uberspec/notify/lib_notify.rb', line 17

def image
  "-i '#{super}'"
end

#titleObject



9
10
11
# File 'lib/uberspec/notify/lib_notify.rb', line 9

def title
  "'#{super}'"
end