Sha256: fc0b52111174e24e30851aea639fddc6219fd5c9d8e8a2f262e461a1324399ae

Contents?: true

Size: 187 Bytes

Versions: 9

Compression:

Stored size: 187 Bytes

Contents

module PurplishFrame
  module Point
    def *(aNumber)
      self.class.new(x*aNumber, y*aNumber)
    end

    def /(aNumber)
      self.class.new(x/aNumber, y/aNumber)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
purplish-frame-0.0.9 lib/purplish-frame/non-ui/point.rb
purplish-frame-0.0.8 lib/purplish-frame/non-ui/point.rb
purplish-frame-0.0.7 lib/purplish-frame/non-ui/point.rb
purplish-frame-0.0.6 lib/purplish-frame/non-ui/point.rb
purplish-frame-0.0.5 lib/purplish-frame/non-ui/point.rb
purplish-frame-0.0.4 lib/purplish-frame/non-ui/point.rb
purplish-frame-0.0.3 lib/purplish-frame/non-ui/point.rb
purplish-frame-0.0.2 lib/purplish-frame/point.rb
purplish-frame-0.0.1 lib/purplish-frame/point.rb