Method: ModelState#state

Defined in:
lib/volt/models/model_state.rb

#stateObject



5
6
7
8
9
10
11
# File 'lib/volt/models/model_state.rb', line 5

def state
  if @persistor && @persistor.respond_to?(:state)
    @persistor.state
  else
    @state || :loaded
  end
end