Class: Yoda::Store::Actions::BuildCoreIndex
- Inherits:
-
Object
- Object
- Yoda::Store::Actions::BuildCoreIndex
- Defined in:
- lib/yoda/store/actions/build_core_index.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exists? ⇒ Boolean
15 16 17 18 19 20 |
# File 'lib/yoda/store/actions/build_core_index.rb', line 15 def exists? [ VersionStore.for_current_version.core_yardoc_path, VersionStore.for_current_version.stdlib_yardoc_path, ].all? { |path| File.exists?(path) } end |
.run ⇒ true, false
11 12 13 |
# File 'lib/yoda/store/actions/build_core_index.rb', line 11 def run new.run end |