Method: OodCore::Job::Status#==

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

#==(other) ⇒ Boolean

The comparison operator

Parameters:

  • object to compare against

Returns:

  • whether objects are equivalent



65
66
67
# File 'lib/ood_core/job/status.rb', line 65

def ==(other)
  to_sym == other.to_sym
end