Class: Alet::Config
- Inherits:
-
Object
- Object
- Alet::Config
- Defined in:
- lib/alet/config.rb
Defined Under Namespace
Classes: I18nConfig
Instance Method Summary collapse
- #cli_options ⇒ Object
- #connection ⇒ Object (also: #conn)
- #connection=(conn) ⇒ Object (also: #conn=)
- #i18n ⇒ Object
Instance Method Details
#cli_options ⇒ Object
17 18 19 |
# File 'lib/alet/config.rb', line 17 def @cli_options ||= {} end |
#connection ⇒ Object Also known as: conn
7 8 9 |
# File 'lib/alet/config.rb', line 7 def connection @connection end |
#connection=(conn) ⇒ Object Also known as: conn=
12 13 14 |
# File 'lib/alet/config.rb', line 12 def connection=(conn) @connection = conn end |
#i18n ⇒ Object
21 22 23 |
# File 'lib/alet/config.rb', line 21 def i18n @i18n ||= I18nConfig.new end |