Class: GroongaDelta::ApplyConfig::Local

Inherits:
Object
  • Object
show all
Includes:
Config::PathResolvable
Defined in:
lib/groonga-delta/apply-config.rb

Instance Method Summary collapse

Constructor Details

#initialize(dir, data) ⇒ Local

Returns a new instance of Local.



68
69
70
71
# File 'lib/groonga-delta/apply-config.rb', line 68

def initialize(dir, data)
  @dir = dir
  @data = data
end

Instance Method Details

#delta_dirObject



73
74
75
# File 'lib/groonga-delta/apply-config.rb', line 73

def delta_dir
  resolve_path(@data["delta_dir"] || "delta")
end