class Avatar::Source::NilSource

A really dumb implementation that never returns a URL. Can be helpful for testing. Also used in GravatarSource::default_source.

Public Instance Methods

avatar_url_for(person, options = {}) click to toggle source

Always returns nil.

# File lib/avatar/source/nil_source.rb, line 11
def avatar_url_for(person, options = {})
  nil
end