module Pwl::Dialog

Constants

PLATFORM_PASSWORD_DIALOGS
PLATFORM_TEXT_DIALOGS

Public Instance Methods

gui_platform() click to toggle source
# File lib/pwl/dialog.rb, line 42
def gui_platform
  if ENV['GDMSESSION']
    :gnome
  elsif RUBY_PLATFORM =~ /darwin/
    :mac
  end
end