Class: UnsortableObject

Inherits:
Object show all
Defined in:
lib/vendor/plugins/rspec/spec/spec/matchers/match_array_spec.rb

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ UnsortableObject

Returns a new instance of UnsortableObject.



4
5
6
# File 'lib/vendor/plugins/rspec/spec/spec/matchers/match_array_spec.rb', line 4

def initialize(id)
  @id = id
end

Instance Method Details

#==(other) ⇒ Object



12
13
14
# File 'lib/vendor/plugins/rspec/spec/spec/matchers/match_array_spec.rb', line 12

def ==(other)
  false
end

#inspectObject



8
9
10
# File 'lib/vendor/plugins/rspec/spec/spec/matchers/match_array_spec.rb', line 8

def inspect
  @id.to_s
end