Module: LoremIpsumAmet::Image

Included in:
Base
Defined in:
lib/lorem_ipsum_amet/image.rb

Instance Method Summary collapse

Instance Method Details

#placeholder_image(width, height = width) ⇒ Object



4
5
6
7
8
# File 'lib/lorem_ipsum_amet/image.rb', line 4

def placeholder_image(width, height = width)
  dimensions = [width, height].join('x')

  [base_url, dimensions].join('/')
end