Module: Cardigan::Command

Defined in:
lib/cardigan/commands.rb

Defined Under Namespace

Classes: AddTransitions, BatchUpdateCards, ChangeStatus, ChangeValue, ClaimCards, CommitChanges, CountCards, CreateCard, DestroyCards, EditValue, ExportCards, FilterCards, ImportCards, ListCards, OpenCard, OpenWorkflow, RemoveTransitions, ShowEntry, SpecifyDisplayColumns, SpecifySortColumns, TotalCards, UnclaimCards, UnfilterCards

Class Method Summary collapse

Class Method Details

.load(name, *args) ⇒ Object



5
6
7
8
# File 'lib/cardigan/commands.rb', line 5

def self.load name, *args
  require "cardigan/command/#{name}"
  Command.const_get(name.to_s.camelize).new(*args)
end