Module: ObjectidColumns::HasObjectidColumns::ClassMethods
- Defined in:
- lib/objectid_columns/has_objectid_columns.rb
Instance Method Summary collapse
-
#has_objectid_columns? ⇒ Boolean
Does this class have any ObjectId columns? It does if this module has been included, since it only gets included if you declare an ObjectId column.
- #objectid_columns_manager ⇒ Object
Instance Method Details
#has_objectid_columns? ⇒ Boolean
Does this class have any ObjectId columns? It does if this module has been included, since it only gets included if you declare an ObjectId column.
34 35 36 |
# File 'lib/objectid_columns/has_objectid_columns.rb', line 34 def has_objectid_columns? true end |
#objectid_columns_manager ⇒ Object
42 43 44 |
# File 'lib/objectid_columns/has_objectid_columns.rb', line 42 def objectid_columns_manager @objectid_columns_manager ||= ::ObjectidColumns::ObjectidColumnsManager.new(self) end |