Method: Clio::Usage::Command#cache

Defined in:
lib/clio/usage/command.rb

#cacheObject

Cache usage into a per-user cache file for reuse. This can be used to greatly speed up tab completion.



138
139
140
# File 'lib/clio/usage/command.rb', line 138

def cache
  File.open(cache_file, 'w'){ |f| f << to_yaml }
end