Sha256: 74f7bc03b138b4bd764797295373eb4ba4fa621b06653f6c49ea47bcf28af9c6

Contents?: true

Size: 387 Bytes

Versions: 13

Compression:

Stored size: 387 Bytes

Contents

# -*- coding: utf-8 -*-


require 'xot/block_util'
require 'rays/ext'


module Rays


  class Camera

    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
    end

  end# Camera


end# Rays

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rays-0.1.34 lib/rays/camera.rb
rays-0.1.33 lib/rays/camera.rb
rays-0.1.32 lib/rays/camera.rb
rays-0.1.31 lib/rays/camera.rb
rays-0.1.30 lib/rays/camera.rb
rays-0.1.29 lib/rays/camera.rb
rays-0.1.28 lib/rays/camera.rb
rays-0.1.27 lib/rays/camera.rb
rays-0.1.26 lib/rays/camera.rb
rays-0.1.25 lib/rays/camera.rb
rays-0.1.24 lib/rays/camera.rb
rays-0.1.23 lib/rays/camera.rb
rays-0.1.22 lib/rays/camera.rb