Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/ca_virtex/core_ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#to_alphabeticly_orderedObject



2
3
4
5
6
7
8
# File 'lib/ca_virtex/core_ext/hash.rb', line 2

def to_alphabeticly_ordered
  result = ""
  keys.sort.each do |k|
    result +=self[k].to_s 
  end
  result
end