Class: RemoteTranslationLoader::Configuration
- Inherits:
-
Object
- Object
- RemoteTranslationLoader::Configuration
- Defined in:
- lib/remote_translation_loader/configuration.rb
Instance Attribute Summary collapse
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#sources ⇒ Object
Returns the value of attribute sources.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 14 |
# File 'lib/remote_translation_loader/configuration.rb', line 9 def initialize @sources = [] @namespace = nil @dry_run = false @logger = Logger.new($stdout) end |
Instance Attribute Details
#dry_run ⇒ Object
Returns the value of attribute dry_run.
7 8 9 |
# File 'lib/remote_translation_loader/configuration.rb', line 7 def dry_run @dry_run end |
#logger ⇒ Object
Returns the value of attribute logger.
7 8 9 |
# File 'lib/remote_translation_loader/configuration.rb', line 7 def logger @logger end |
#namespace ⇒ Object
Returns the value of attribute namespace.
7 8 9 |
# File 'lib/remote_translation_loader/configuration.rb', line 7 def namespace @namespace end |
#sources ⇒ Object
Returns the value of attribute sources.
7 8 9 |
# File 'lib/remote_translation_loader/configuration.rb', line 7 def sources @sources end |