Class: GroongaDelta::ImportConfig::Local
- Inherits:
-
Object
- Object
- GroongaDelta::ImportConfig::Local
- Includes:
- Config::PathResolvable
- Defined in:
- lib/groonga-delta/import-config.rb
Instance Method Summary collapse
- #dir ⇒ Object
- #initial_max_number ⇒ Object
-
#initialize(dir, data) ⇒ Local
constructor
A new instance of Local.
Constructor Details
#initialize(dir, data) ⇒ Local
Returns a new instance of Local.
154 155 156 157 |
# File 'lib/groonga-delta/import-config.rb', line 154 def initialize(dir, data) @dir = dir @data = data end |
Instance Method Details
#dir ⇒ Object
159 160 161 |
# File 'lib/groonga-delta/import-config.rb', line 159 def dir resolve_path(@data["dir"] || "local") end |
#initial_max_number ⇒ Object
163 164 165 |
# File 'lib/groonga-delta/import-config.rb', line 163 def initial_max_number @data["initial_max_number"] || Float::INFINITY end |