class Decent::Hodling
Public Class Methods
execute(args)
click to toggle source
# File lib/decent/command/hodling/hodling.rb, line 3 def self.execute(args) command = args.first commands = { "add" => AddHodling, "list" => ListHodling, "remove" => RemoveHodling, "show" => ShowHodling, "update" => UpdateHodling } commands[command].execute args end