Module: ImageRuby

Defined in:
lib/imageruby/color.rb,
lib/imageruby/image.rb,
lib/imageruby/decoder.rb,
lib/imageruby/encoder.rb,
lib/imageruby/pureruby.rb,
lib/imageruby/fileloader.rb,
lib/imageruby/bitmap/bitmap.rb,
lib/imageruby/filepersistor.rb,
lib/imageruby/bitmap/rbbitmap.rb,
lib/imageruby/persistor/decoder_loader.rb,
lib/imageruby/persistor/encoder_persistor.rb

Overview

This file is part of the imageruby project, github.com/tario/imageruby

Copyright © 2011 Roberto Dario Seminara <[email protected]>

imageruby is free software: you can redistribute it and/or modify it under the terms of the gnu general public license as published by the free software foundation, either version 3 of the license, or (at your option) any later version.

imageruby is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. see the gnu general public license for more details.

you should have received a copy of the gnu general public license along with imageruby. if not, see <www.gnu.org/licenses/>.

Defined Under Namespace

Modules: PureRubyImageMethods, RubyBitmapModl Classes: Bitmap, Color, Decoder, DecoderLoader, Encoder, EncoderPersistor, FileLoader, FilePersistor, Image, RubyBitmap

Class Method Summary collapse

Class Method Details

.register_image_mixin(modl) ⇒ Object



28
29
30
# File 'lib/imageruby/image.rb', line 28

def self.register_image_mixin(modl)
  Image.class_eval{ include modl }
end