Sha256: f8e40d8ee7c4b2f6da2ed6fda6e0ebeda18ede0a81d6eb12166458cc674fb04a
Contents?: true
Size: 308 Bytes
Versions: 7
Compression:
Stored size: 308 Bytes
Contents
module Deano class ModelDestroyer < Deano::NameCommand def self.command "destroy:model" end def self.help "model_name" end def call rm app_path("models", "#{self.underscored}.rb") rm app_path("spec", "models", "#{self.underscored}_spec.rb") end end end
Version data entries
7 entries across 7 versions & 1 rubygems