Method: OodCore::Job::Status#eql?

Defined in:
lib/ood_core/job/status.rb

#eql?(other) ⇒ Boolean

Whether objects are identical to each other

Parameters:

  • other (#to_sym)

    object to compare against

Returns:

  • (Boolean)

    whether objects are identical



72
73
74
# File 'lib/ood_core/job/status.rb', line 72

def eql?(other)
  self.class == other.class && self == other
end