Sha256: 171beee171441b7ff379261bd5e716a05f7b2a77a15de92282fde8e5b8efa915

Contents?: true

Size: 258 Bytes

Versions: 7

Compression:

Stored size: 258 Bytes

Contents

require 'simctl/object'

module SimCtl
  class DeviceType < Object
    attr_reader :identifier, :name

    def ==(other)
      return false if other.nil?
      return false unless other.is_a? DeviceType
      other.identifier == identifier
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simctl-1.6.10 lib/simctl/device_type.rb
simctl-1.6.8 lib/simctl/device_type.rb
simctl-1.6.7 lib/simctl/device_type.rb
simctl-1.6.6 lib/simctl/device_type.rb
simctl-1.6.5 lib/simctl/device_type.rb
simctl-1.6.4 lib/simctl/device_type.rb
simctl-1.6.3 lib/simctl/device_type.rb