Class: Wx::ConfigWx
- Inherits:
-
ConfigBase
- Object
- ConfigBase
- Wx::ConfigWx
- Includes:
- Wx::ConfigBase::Interface
- Defined in:
- lib/wx/doc/config.rb
Overview
This is an abstract class wrapping the default C++ Config class for the active platform (on Windows this would be wxRegConfig
and wxFileConfig
otherwise).
Unless Wx::ConfigBase.create or Wx::ConfigBase.set has been called this is what will be returned by Wx::ConfigBase.get.
Defined Under Namespace
Classes: Group
Constant Summary
Constants inherited from ConfigBase
Instance Method Summary collapse
-
#clear ⇒ Boolean
Deletes all configuration content and returns true if successful.
-
#is_expanding_env_vars ⇒ Boolean
(also: #expanding_env_vars?)
Returns true if we are expanding environment variables in string values, false otherwise.
-
#replace(hash) ⇒ self
Replaces the configuration content with the content of the provided Hash.
-
#set_expand_env_vars(flag) ⇒ Object
(also: #expand_env_vars)
Determine whether we wish to expand environment variables in string values.
Methods included from Wx::ConfigBase::Interface
#[], #delete, #each_entry, #each_group, #get, #has_entry?, #has_group?, #number_of_entries, #number_of_groups, #parent, #path, #read, #rename, #root, #root?, #set, #to_h, #to_s, #write
Methods inherited from ConfigBase
Instance Method Details
#clear ⇒ Boolean
Deletes all configuration content and returns true if successful. Also deletes any persisted storage (files or registry entries).
182 |
# File 'lib/wx/doc/config.rb', line 182 def clear; end |
#is_expanding_env_vars ⇒ Boolean Also known as: expanding_env_vars?
Returns true if we are expanding environment variables in string values, false otherwise.
191 |
# File 'lib/wx/doc/config.rb', line 191 def ; end |
#replace(hash) ⇒ self
Replaces the configuration content with the content of the provided Hash.
187 |
# File 'lib/wx/doc/config.rb', line 187 def replace(hash) end |
#set_expand_env_vars(flag) ⇒ Object Also known as: expand_env_vars
Determine whether we wish to expand environment variables in string values.
196 |
# File 'lib/wx/doc/config.rb', line 196 def (flag) end |