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

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

#==(other) ⇒ Boolean

The comparison operator

Parameters:

  • other (#to_sym)

    object to compare against

Returns:

  • (Boolean)

    whether objects are equivalent



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

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