Sha256: 6c0c7464f76672b9eb3eacb064f00607845be78db00e714b189facd9d014691b
Contents?: true
Size: 544 Bytes
Versions: 52
Compression:
Stored size: 544 Bytes
Contents
module SOULs class Delete < Thor desc "connection_rbs [CLASS_NAME]", "Delete GraphQL Connection RBS" def connection_rbs(class_name) file_path = "" Dir.chdir(SOULs.get_mother_path.to_s) do singularized_class_name = class_name.underscore.singularize file_dir = "./sig/api/app/graphql/types/connections/" file_path = "#{file_dir}#{singularized_class_name}_connection.rbs" FileUtils.rm_f(file_path) SOULs::Painter.delete_file(file_path.to_s) end file_path end end end
Version data entries
52 entries across 52 versions & 1 rubygems