Module: Mistilteinn::Ticket

Defined in:
lib/mistilteinn/ticket.rb,
lib/mistilteinn/ticket/entry.rb,
lib/mistilteinn/ticket/github.rb,
lib/mistilteinn/ticket/redmine.rb,
lib/mistilteinn/ticket/git_config.rb

Defined Under Namespace

Classes: Entry, GitConfig, Github, Redmine

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object



7
8
9
10
11
12
13
14
15
16
# File 'lib/mistilteinn/ticket.rb', line 7

def [](name)
  case name.to_sym
  when :redmine
    Mistilteinn::Ticket::Redmine
  when :github
    Mistilteinn::Ticket::Github
  when :gitconfig
    Mistilteinn::Ticket::GitConfig
  end
end