Method: Lazylead::Issue#add_label

Defined in:
lib/lazylead/system/jira.rb

#add_label(label, *more) ⇒ Object



244
245
246
247
248
249
250
# File 'lib/lazylead/system/jira.rb', line 244

def add_label(label, *more)
  lbl = labels
  lbl = [] if lbl.nil?
  lbl << label
  lbl += more if more.size.positive?
  labels! lbl
end