lib/data_miner/dictionary.rb in data_miner-1.1.5 vs lib/data_miner/dictionary.rb in data_miner-1.1.6

- old
+ new

@@ -20,9 +20,14 @@ end def table @table ||= ::RemoteTable.new options['url'] end + + def free + @table.free if @table.is_a?(::RemoteTable) + @table = nil + end def lookup(key) find key_name, key, value_name, 'sprintf' => sprintf end