lib/relaton_ecma/processor.rb in relaton-ecma-1.14.1 vs lib/relaton_ecma/processor.rb in relaton-ecma-1.14.2
- old
+ new
@@ -45,7 +45,14 @@
# Returns hash of XML grammar
# @return [String]
def grammar_hash
@grammar_hash ||= ::RelatonEcma.grammar_hash
end
+
+ #
+ # Remove index file
+ #
+ def remove_index_file
+ Relaton::Index.find_or_create(:ECMA, url: true).remove_file
+ end
end
end