Sha256: f309b4cc43ce0f2d74a1a7bbe3eb60f84f56ef85f943b4aca4e0620edfe02eb7
Contents?: true
Size: 424 Bytes
Versions: 10
Compression:
Stored size: 424 Bytes
Contents
module Souls class Delete < Thor desc "rspec_query [CLASS_NAME]", "Delete Rspec Query Test" def rspec_query(class_name) singularized_class_name = class_name.singularize file_path = "./spec/queries/#{singularized_class_name}_spec.rb" FileUtils.rm(file_path) puts(Paint % ["Deleted file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }]) file_path end end end
Version data entries
10 entries across 10 versions & 1 rubygems