Skip to content

pascalj/doge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doge

Gem Version

such gem

						amaze


			so ruby

							wow

Installation

Add this line to your application's Gemfile:

gem 'doge'

And then execute:

$ bundle

Or install it yourself as:

$ gem install doge

Usage

require 'doge'

Doge.new do
  such "code"
  wow
  so "ruby"
  amaze
  wuff "Doge.new"
end.image.write("output.jpg")

Will write the image to disk:

output

#image will return an Magick::Image.

Available methods are such, wow, so, amaze, very and wuff which writes a custom string. You can specify a custom image by handing over a file path Doge.new(my_image).

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request