Sha256: c4693059d96af24672b880b3fbedb96809928cb12f0dc8e22c37c7f4a509b7fd
Contents?: true
Size: 426 Bytes
Versions: 42
Compression:
Stored size: 426 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_f(file_path) puts(Paint % ["Deleted file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }]) file_path end end end
Version data entries
42 entries across 42 versions & 1 rubygems