Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/dreamy/core_extensions.rb
Instance Method Summary collapse
Instance Method Details
#to_param_array ⇒ Object
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 |