Class: GroongaDelta::ImportConfig
- Defined in:
- lib/groonga-delta/import-config.rb
Defined Under Namespace
Instance Method Summary collapse
- #delta_dir ⇒ Object
-
#initialize(dir) ⇒ ImportConfig
constructor
A new instance of ImportConfig.
- #local ⇒ Object
- #mapping ⇒ Object
- #mysql ⇒ Object
Methods inherited from Config
#log_age, #log_level, #log_max_size, #log_path, #log_period_suffix, #logger, #polling_interval
Constructor Details
#initialize(dir) ⇒ ImportConfig
Returns a new instance of ImportConfig.
21 22 23 |
# File 'lib/groonga-delta/import-config.rb', line 21 def initialize(dir) super("groonga-delta-import", dir) end |
Instance Method Details
#delta_dir ⇒ Object
25 26 27 |
# File 'lib/groonga-delta/import-config.rb', line 25 def delta_dir resolve_path(@data["delta_dir"] || "delta") end |
#local ⇒ Object
36 37 38 39 |
# File 'lib/groonga-delta/import-config.rb', line 36 def local return nil unless @data["local"] Local.new(@dir, @data["local"]) end |