Sha256: ec8b593ae24fc1e9a3e8f1c3ef700c7c454a5aeec0504b9a952721043e4ec6b0
Contents?: true
Size: 490 Bytes
Versions: 10
Compression:
Stored size: 490 Bytes
Contents
module Souls class Delete < Thor desc "edge_rbs [CLASS_NAME]", "Delete GraphQL Edge RBS" def edge_rbs(class_name) Dir.chdir(Souls.get_mother_path.to_s) do file_dir = "./sig/api/app/graphql/types/edges/" singularized_class_name = class_name.underscore.singularize file_path = "#{file_dir}#{singularized_class_name}_edge.rbs" FileUtils.rm_f(file_path) Souls::Painter.delete_file(file_path) file_path end end end end
Version data entries
10 entries across 10 versions & 1 rubygems