Method: Jsm::Client::ActiveModel::InstanceMethods#current_state

Defined in:
lib/jsm/client/active_model.rb

#current_stateObject



8
9
10
11
# File 'lib/jsm/client/active_model.rb', line 8

def current_state
  attr_state = state_machine.attribute_name
  send(attr_state)
end