class Decent::RemoveHodling
Public Class Methods
execute(args)
click to toggle source
# File lib/decent/command/hodling/remove_hodling.rb, line 3 def self.execute(args) hodlings = Database[:holdings] nickname = args[1] hodling = hodlings.where(nickname: nickname) hodling.delete end