Module: Impex
- Defined in:
- lib/impex.rb,
lib/impex/row.rb,
lib/impex/file.rb,
lib/impex/engine.rb,
lib/impex/lookup.rb,
lib/impex/version.rb,
lib/impex/configuration.rb,
lib/impex/file_formatter.rb,
lib/impex/file_loader/base.rb,
lib/impex/file_loader/errors.rb,
lib/impex/history_manager/base.rb,
lib/impex/history_manager/errors.rb,
lib/impex/file_loaders/file_system.rb,
lib/generators/impex/install_generator.rb,
lib/impex/history_managers/active_record.rb
Defined Under Namespace
Modules: FileLoader, HistoryManager Classes: Engine, File, FileFormatter, InstallGenerator, Lookup, Railtie, Row
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
- .config ⇒ Object
-
.configure(options = {}) ⇒ Object
Configure through hash.
Class Method Details
.config ⇒ Object
28 29 30 |
# File 'lib/impex/configuration.rb', line 28 def self.config @config end |
.configure(options = {}) ⇒ Object
Configure through hash
20 21 22 23 24 25 26 |
# File 'lib/impex/configuration.rb', line 20 def self.configure( = {}) .each do |k,v| @config[k.to_sym] = v if @valid_config_keys.include? k.to_sym end @config end |