Class: Pwl::Dialog::GnomePasswordDialog

Inherits:
GnomeDialog show all
Defined in:
lib/pwl/dialog/gnome.rb

Instance Attribute Summary

Attributes inherited from Base

#prompt, #title

Instance Method Summary collapse

Methods inherited from SystemDialog

#get_input

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Pwl::Dialog::Base

Instance Method Details

#commandObject

Returns the OS command that is required to ask the user for a password.



13
14
15
# File 'lib/pwl/dialog/gnome.rb', line 13

def command
  "#{super} --entry --hide-text --text \"#{prompt}\""
end