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.13.20 test/sample/line.rb
oj-3.13.19 test/sample/line.rb
oj-3.13.18 test/sample/line.rb
oj-3.13.17 test/sample/line.rb
oj-3.13.16 test/sample/line.rb
oj-3.13.15 test/sample/line.rb
oj-3.13.14 test/sample/line.rb
oj-3.13.13 test/sample/line.rb
oj-3.13.12 test/sample/line.rb
oj-3.13.11 test/sample/line.rb
oj-3.13.10 test/sample/line.rb
oj-3.13.9 test/sample/line.rb
oj-3.13.8 test/sample/line.rb
oj-3.13.7 test/sample/line.rb
oj-3.13.6 test/sample/line.rb
oj-3.13.5 test/sample/line.rb
oj-3.13.4 test/sample/line.rb
oj-3.13.3 test/sample/line.rb
oj-3.13.2 test/sample/line.rb
oj-3.13.1 test/sample/line.rb