Method: Cnvrg::Dataset#update_idx
- Defined in:
- lib/cnvrg/dataset.rb
#update_idx(idx) ⇒ Object
270 271 272 273 274 |
# File 'lib/cnvrg/dataset.rb', line 270 def update_idx(idx) File.open("#{self.local_path}/.cnvrg/idx.yml", 'w') { |f| f.write idx.to_yaml } return true end |