Project

placegant

0.0
No commit activity in last 3 years
No release in over 3 years
A small library to generate placeGant images.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

placeGant

Inspired by placekitten, placeGant is a small helper for generating Gantman images. To see all the images available, visit http://placegant.me.

Installing

placegant is available on RubyGems.

Add this line to your application's Gemfile:

gem 'placegant'

And then execute:

$ bundle

Or install it yourself as:

$ gem install placegant

Examples

# Generate a 300x400 placeGant
PlaceGant.image(300, 400)  => "http://placegant.me/pg/300/400"

Rails Helpers

# in Gemfile:
gem 'placegant'

# in app/helpers/application_helper.rb:
module ApplicationHelper
  include PlaceGant::Helpers
end

# in your views:
<%= image_tag placegant(400, 500) %>