Class: ODDB::TestGalenicGroup::StubForm

Inherits:
Object
  • Object
show all
Includes:
Persistence
Defined in:
test/test_model/galenicgroup.rb

Constant Summary

Constants included from Persistence

ODBA_PREDEFINE_SERIALIZABLE

Instance Method Summary (collapse)

Methods included from Persistence

#initialize

Methods included from PersistenceMethods

#checkout, #data_origin, #data_origins, #diff, #init, #nil_if_empty, #parent, #pointer_descr, #structural_ancestors, #undiffable?, #update_values

Constructor Details

This class inherits a constructor from ODDB::Persistence

Instance Method Details

- (Object) ==(other)



22
23
24
# File 'test/test_model/galenicgroup.rb', line 22

def ==(other)
  self.class == other.class
end

- (Boolean) has_description?(value)

Returns:

  • (Boolean)


19
20
21
# File 'test/test_model/galenicgroup.rb', line 19

def has_description?(value)
  value == 'Tabletten'
end