Method: VagrantPlugins::Utm::Model::ListResult::ListResultItem#vagrant_state

Defined in:
lib/vagrant_utm/model/list_result.rb

#vagrant_stateObject

Returns the state of the machine using Vagrant symbols.



63
64
65
66
67
68
69
70
71
72
# File 'lib/vagrant_utm/model/list_result.rb', line 63

def vagrant_state
  case @state
  when "running"
    :running
  when "stopped", "suspended"
    :stopped
  else
    :host_state_unknown
  end
end