Class: Turing::Image::WhiteSquaring
- Inherits:
-
Turing::Image
- Object
- Turing::Image
- Turing::Image::WhiteSquaring
- Includes:
- SquaringHelper
- Defined in:
- lib/turing/image_plugins/white_squaring.rb
Overview
WhiteSquaring turing test
Blends text, background and makes square pattern over image.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ WhiteSquaring
constructor
{{{.
Methods included from SquaringHelper
Methods inherited from Turing::Image
Constructor Details
#initialize(opts = {}) ⇒ WhiteSquaring
{{{
15 16 17 18 |
# File 'lib/turing/image_plugins/white_squaring.rb', line 15 def initialize(opts = {}) super(opts) @squaring_color = GD2::Color[255, 255, 255] end |