class GhIssues::TextRenderer

Public Instance Methods

image(link, title, content) click to toggle source
# File lib/gh_issues/cli.rb, line 15
def image(link, title, content)
  link = "link" if link.length > WRAP_TEXT_AT
  content &&= content + " "
  "[#{content}]-[#{link}]"
end