Module: Skr::Concerns::VisibleIdIdentifier::InstanceMethods
- Defined in:
- lib/skr/concerns/visible_id_identifier.rb
Instance Method Summary collapse
-
#assign_visible_id! ⇒ Integer
setup the visible id to the next available #SequentialId.
Instance Method Details
#assign_visible_id! ⇒ Integer
setup the visible id to the next available #SequentialId
13 14 15 |
# File 'lib/skr/concerns/visible_id_identifier.rb', line 13 def assign_visible_id! self.visible_id ||= Skr::SequentialId.next_for( self.class ) end |