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
-
.notification_timeout ⇒ Object
Returns the value of attribute notification_timeout.
-
.verbose ⇒ Object
Returns the value of attribute verbose.
Class Method Summary collapse
-
.whisper(*args) ⇒ Object
puts something if -v was used.
Class Attribute Details
.notification_timeout ⇒ Object
Returns the value of attribute notification_timeout.
4 5 6 |
# File 'lib/catfriend/server.rb', line 4 def notification_timeout @notification_timeout end |
.verbose ⇒ Object
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 |