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.0 test/sample/line.rb
oj-3.12.3 test/sample/line.rb
oj-3.12.2 test/sample/line.rb
oj-3.12.1 test/sample/line.rb
oj-3.12.0 test/sample/line.rb
oj-3.11.8 test/sample/line.rb
oj-3.11.7 test/sample/line.rb
oj-3.11.6 test/sample/line.rb
oj-3.11.5 test/sample/line.rb
oj-3.11.4 test/sample/line.rb
oj-3.11.3 test/sample/line.rb
oj-3.11.2 test/sample/line.rb
oj-3.11.1 test/sample/line.rb
oj-3.11.0 test/sample/line.rb
oj-3.10.18 test/sample/line.rb
oj-3.10.17 test/sample/line.rb
oj-3.10.16 test/sample/line.rb
oj-3.10.15 test/sample/line.rb
oj-3.10.14 test/sample/line.rb
oj-3.10.13 test/sample/line.rb