lib/imgurr/command.rb
# Public: build HTML image tag response
#
# Returns a properly formatted HTML <img> tag
build HTML image tag response
Returns a properly formatted HTML  tag
build HTML image tag response Returns a properly formatted HTML tag
def build_HTML_response(response)
        return "<img src=\"#{response}\" alt=\"#{options[:title].nil? ? 'Screenshot' : options[:title]}\">" if options[:size].nil?
        "<img src=\"#{response}\" alt=\"#{options[:title].nil? ? 'Screenshot' : options[:title]}\" width=\"#{options[:size]}%\">"
      end
def build_HTML_response ( response ) return "<img src=\"#{response}\" alt=\"#{options[:title].nil? ? 'Screenshot' : options[:title]}\">" if options [ :size ] . nil? "<img src=\"#{response}\" alt=\"#{options[:title].nil? ? 'Screenshot' : options[:title]}\" width=\"#{options[:size]}%\">" end
Public: build HTML image tag response
Returns a properly formatted HTML <img> tag
Public : build HTML image tag response Returns a properly formatted HTML <img > tag
response
<not_specific>