Class: Leva::Prompt
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Leva::Prompt
- Defined in:
- app/models/leva/prompt.rb
Instance Method Summary collapse
Instance Method Details
#increment_version ⇒ void
This method returns an undefined value.
25 26 27 28 |
# File 'app/models/leva/prompt.rb', line 25 def increment_version self.version ||= 0 self.version += 1 end |