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