Sha256: 59cbba65fceb172f6c61c6c4e5c3c4bb5cb2ac52b291c7d569ecc22782a3f2cc

Contents?: true

Size: 238 Bytes

Versions: 2

Compression:

Stored size: 238 Bytes

Contents

module Mac
  module EventMonitor
    class Location
      include JsonSerializable

      attr_accessor :x, :y

      def initialize(x, y)
        @x = x
        @y = y
      end

      def data
        [x, y]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mac-event-monitor-0.2.1 lib/mac-event-monitor/location.rb
mac-event-monitor-0.2.0 lib/mac-event-monitor/location.rb