Skip to content

AngieGreen/placegant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) %>

About

a helper for placeGant images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages