Class: Leva::Prompt

Inherits:
ApplicationRecord show all
Defined in:
app/models/leva/prompt.rb

Instance Method Summary collapse

Instance Method Details

#increment_versionvoid

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