class Lorempixel
Public Instance Methods
get_provider()
click to toggle source
# File lib/lorempixel.rb, line 5 def get_provider height = rand(@height[:min]..@height[:max]) width = rand(@width[:min]..@width[:max]) "http://lorempixel.com/#{width}/#{height}/" end