Module: VmShepherd::DataObject
- Included in:
- Vcloud::VappConfig
- Defined in:
- lib/vm_shepherd/data_object.rb
Instance Method Summary collapse
Instance Method Details
#==(other_obj) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/vm_shepherd/data_object.rb', line 3 def ==(other_obj) return false unless self.class === other_obj instance_variables.all? do |ivar_name| self.instance_variable_get(ivar_name) == other_obj.instance_variable_get(ivar_name) end end |