Module: Catfriend

Defined in:
lib/catfriend/dbus.rb,
lib/catfriend/imap.rb,
lib/catfriend/server.rb,
lib/catfriend/thread.rb,
lib/catfriend/filetokenstack.rb

Defined Under Namespace

Modules: AccessorsFromHash, Thread Classes: ConfigError, DBus, FileTokenStack, ImapServer

Constant Summary collapse

SERVICE =
"org.freedesktop.Catfriend"
PATH =
"/org/freedesktop/Catfriend"
INTERFACE =
"org.freedesktop.Catfriend.System"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.notification_timeoutObject

Returns the value of attribute notification_timeout.



4
5
6
# File 'lib/catfriend/server.rb', line 4

def notification_timeout
  @notification_timeout
end

.verboseObject

Returns the value of attribute verbose.



4
5
6
# File 'lib/catfriend/server.rb', line 4

def verbose
  @verbose
end

Class Method Details

.whisper(*args) ⇒ Object

puts something if -v was used



7
8
9
# File 'lib/catfriend/server.rb', line 7

def whisper *args
  puts *args if verbose
end