Module: OilyPNG
- Defined in:
- lib/oily_png.rb,
lib/oily_png/canvas.rb,
lib/oily_png/version.rb,
ext/oily_png/oily_png_ext.c
Defined Under Namespace
Modules: Color, Operations, PNGDecoding, PNGEncoding, Resampling Classes: Canvas
Constant Summary collapse
- VERSION =
"1.2.1"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/oily_png.rb', line 4 def self.included(base) base::Canvas.send(:extend, OilyPNG::PNGDecoding) base::Canvas.send(:include, OilyPNG::PNGEncoding) base::Color.send(:include, OilyPNG::Color) base::Color.extend OilyPNG::Color base::Canvas.send(:include, OilyPNG::Resampling) base::Canvas.send(:include, OilyPNG::Operations) end |