Module: EnvironmentInformation::GUI::UniversalWidgets::EnvironmentInformationModule

Included in:
EnvironmentInformation
Defined in:
lib/environment_information/gui/shared_code/environment_information/environment_information_module.rb

Overview

EnvironmentInformation::GUI::UniversalWidgets::EnvironmentInformationModule

Constant Summary collapse

N =
#

N

#
"\n"
TITLE =
#

TITLE

#
'Environment Information'
USE_THIS_FONT =
#

USE_THIS_FONT

#
'Mono 20'
LARGER_FONT =
#

LARGER_FONT

#
:hack_25
SMALLER_FONT =
#

SMALLER_FONT

#
:hack_20
FONT_SIZE =
#

FONT_SIZE

#
'19'

Instance Method Summary collapse

Instance Method Details

#assign_the_environment_information_dataset_to_the_data_variableObject

#

assign_the_environment_information_dataset_to_the_data_variable

#


67
68
69
# File 'lib/environment_information/gui/shared_code/environment_information/environment_information_module.rb', line 67

def assign_the_environment_information_dataset_to_the_data_variable
  @data = ::EnvironmentInformation.initialize_hash
end

#border_size?Boolean

#

border_size?

#

Returns:

  • (Boolean)


88
89
90
# File 'lib/environment_information/gui/shared_code/environment_information/environment_information_module.rb', line 88

def border_size?
  10
end

#favicon?Boolean

#

favicon?

#

Returns:

  • (Boolean)


81
82
83
# File 'lib/environment_information/gui/shared_code/environment_information/environment_information_module.rb', line 81

def favicon?
  :tabble
end

#padding?Boolean

#

padding?

#

Returns:

  • (Boolean)


95
96
97
# File 'lib/environment_information/gui/shared_code/environment_information/environment_information_module.rb', line 95

def padding?
  2
end

#reset_the_variablesObject

#

reset_the_variables

#


53
54
55
56
57
58
59
60
61
62
# File 'lib/environment_information/gui/shared_code/environment_information/environment_information_module.rb', line 53

def reset_the_variables
  # ======================================================================= #
  # === @display_information_on_the_commandline
  #
  # If the next variable is set to true then information will be
  # displayed on the commandline.
  # ======================================================================= #
  @display_information_on_the_commandline = true
  assign_the_environment_information_dataset_to_the_data_variable
end

#smaller_font?Boolean

#

smaller_font?

#

Returns:

  • (Boolean)


74
75
76
# File 'lib/environment_information/gui/shared_code/environment_information/environment_information_module.rb', line 74

def smaller_font?
  SMALLER_FONT
end