Revision 132a991c
Added by Ohad Levy almost 12 years ago
- ID 132a991c8c441c86864a35c666dd41748213bdaf
app/helpers/compute_resources_vms_helper.rb | ||
---|---|---|
case value
|
||
when Array
|
||
value.to_sentence
|
||
when Fog::Time
|
||
when Fog::Time, Time
|
||
time_ago_in_words(value) + " ago"
|
||
when nil
|
||
"N/A"
|
||
else
|
||
value.to_s
|
||
end
|
Also available in: Unified diff
basic openstack support