Sha256: 2881493b3d5ef21304c0baef6ab9c18024f13c2e012be6094f056fb5a9b06eee

Contents?: true

Size: 320 Bytes

Versions: 286

Compression:

Stored size: 320 Bytes

Contents

module Sample

  class Line
    include HasProps

    attr_accessor :x, :y, :dx, :dy
    attr_accessor :color
    attr_accessor :thick
    
    def initialize(x, y, dx, dy, thick, color)
      @x = x
      @y = y
      @dx = dx
      @dy = dy
      @thick = thick
      @color = color
    end

  end # Line
end # Sample

Version data entries

286 entries across 286 versions & 4 rubygems

Version Path
oj-3.7.10 test/sample/line.rb
oj-3.7.9 test/sample/line.rb
oj-3.7.8 test/sample/line.rb
oj-3.7.7 test/sample/line.rb
oj-3.7.6 test/sample/line.rb
oj-3.7.5 test/sample/line.rb
oj-3.7.4 test/sample/line.rb
oj-3.7.3 test/sample/line.rb
oj-3.7.2 test/sample/line.rb
oj-3.7.1 test/sample/line.rb
oj-3.7.0 test/sample/line.rb
oj-3.6.13 test/sample/line.rb
oj-3.6.12 test/sample/line.rb
oj-3.6.11 test/sample/line.rb
oj-3.6.10 test/sample/line.rb
oj-3.6.9 test/sample/line.rb
oj-3.6.8 test/sample/line.rb
oj-3.6.7 test/sample/line.rb
oj-3.6.6 test/sample/line.rb
oj-3.6.5 test/sample/line.rb