lib/rays/camera.rb in rays-0.1.21 vs lib/rays/camera.rb in rays-0.1.22
- old
+ new
@@ -8,10 +8,10 @@
module Rays
class Camera
- def initialize (
+ def initialize(
min_width = -1, min_height = -1,
device_name: nil, resize: true, crop: true, &block)
setup device_name, min_width, min_height, resize, crop
Xot::BlockUtil.instance_eval_or_block_call self, &block if block