Class: CooCoo::Transformers::Image::Scaler
- Defined in:
- lib/coo-coo/transformer.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(enum, width, height, scale_x, scale_y) ⇒ Scaler
constructor
A new instance of Scaler.
- #next ⇒ Object
Methods inherited from Base
Methods inherited from Base
bin_op, bin_op_inner, #drop, #first
Constructor Details
#initialize(enum, width, height, scale_x, scale_y) ⇒ Scaler
Returns a new instance of Scaler.
191 192 193 194 195 |
# File 'lib/coo-coo/transformer.rb', line 191 def initialize(enum, width, height, scale_x, scale_y) super(enum, width, height) @scale_x = scale_x @scale_y = scale_y end |