Class: Confer::Configurators::Locale

Inherits:
Confer::Configurator show all
Defined in:
lib/confer/configurators/locale.rb

Instance Attribute Summary collapse

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

#encodingObject

Returns the value of attribute encoding.



7
8
9
# File 'lib/confer/configurators/locale.rb', line 7

def encoding
  @encoding
end

#nameObject

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