Class: RemoteTranslationLoader::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/remote_translation_loader/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_runObject

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

#loggerObject

Returns the value of attribute logger.



7
8
9
# File 'lib/remote_translation_loader/configuration.rb', line 7

def logger
  @logger
end

#namespaceObject

Returns the value of attribute namespace.



7
8
9
# File 'lib/remote_translation_loader/configuration.rb', line 7

def namespace
  @namespace
end

#sourcesObject

Returns the value of attribute sources.



7
8
9
# File 'lib/remote_translation_loader/configuration.rb', line 7

def sources
  @sources
end