Sha256: d48ddc923127afb4189d507e6020c09e44734d0cd6c39588564a6f392936cb1c
Contents?: true
Size: 500 Bytes
Versions: 106
Compression:
Stored size: 500 Bytes
Contents
<% options = { default: '', size: 340, } options[:default] = @default if @default.present? options[:size] = @size if @size.present? query = options.map { |key, value| "#{key}=#{value}" }.join('&') url = URI::HTTPS.build(host: "www.gravatar.com", path: "/avatar/#{@md5}", query: query) classes = @rounded ? 'rounded-full' : '' %> <%= link_to_if @link_to_record.present?, image_tag(url.to_s, class: classes, width: options[:size], height: options[:size]), @link, title: @title %>
Version data entries
106 entries across 106 versions & 1 rubygems