Class: Confer::Configurators::Locale
- Inherits:
-
Confer::Configurator
- Object
- Confer::Configurator
- Confer::Configurators::Locale
- Defined in:
- lib/confer/configurators/locale.rb
Instance Attribute Summary collapse
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Methods inherited from Confer::Configurator
#apply, get, #initialize, #verify
Constructor Details
This class inherits a constructor from Confer::Configurator
Instance Attribute Details
#encoding ⇒ Object
Returns the value of attribute encoding.
7 8 9 |
# File 'lib/confer/configurators/locale.rb', line 7 def encoding @encoding end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/confer/configurators/locale.rb', line 6 def name @name end |
Instance Method Details
#query(connection) ⇒ Object
9 10 11 |
# File 'lib/confer/configurators/locale.rb', line 9 def query(connection) connection.exec! 'locale -a' end |