class PRGM::Commands::Remove
Public Instance Methods
execute()
click to toggle source
# File lib/prgm/commands/remove.rb, line 6 def execute PRGM::Models::Item.where(name: name).first.destroy end
# File lib/prgm/commands/remove.rb, line 6 def execute PRGM::Models::Item.where(name: name).first.destroy end