Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/dreamy/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_param_arrayObject



2
3
4
5
6
7
8
# File 'lib/dreamy/core_extensions.rb', line 2

def to_param_array
  p = Array.new
  self.each do |k,v|
    p << "#{k}=#{v}"
  end
  p
end