Method: RTKIT::Study#==

Defined in:
lib/rtkit/study.rb

#==(other) ⇒ Object Also known as: eql?

Returns true if the argument is an instance with attributes equal to self.



123
124
125
126
127
# File 'lib/rtkit/study.rb', line 123

def ==(other)
  if other.respond_to?(:to_study)
    other.send(:state) == state
  end
end