Method: FormAPI::CreateTemplateData#==

Defined in:
lib/form_api/models/create_template_data.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



66
67
68
69
70
# File 'lib/form_api/models/create_template_data.rb', line 66

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      template == o.template
end