Sha256: aca06d710eaa2e17d5d0b54a02900114ace6f0b6cbeace9d0562945c5e689edf

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

module Ray
  class Rect
    def inspect
      "#<#{self.class} {{#{x}, #{y}}, {#{w}, #{h}}}>"
    end

    alias :w :width
    alias :h :height

    alias :w= :width=
    alias :h= :height=
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ray-0.0.0.pre2 lib/ray/rect.rb
ray-0.0.0.pre1 lib/ray/rect.rb