Method: Falcon::V2Loop#==

Defined in:
lib/crimson-falcon/models/v2_loop.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



140
141
142
143
144
145
146
147
148
# File 'lib/crimson-falcon/models/v2_loop.rb', line 140

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      actions == o.actions &&
      conditions == o.conditions &&
      _for == o._for &&
      _next == o._next &&
      trigger == o.trigger
end