Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/rvs/to_rvs.rb
Instance Method Summary collapse
Instance Method Details
#to_rvs ⇒ Object
67 68 69 70 71 72 73 |
# File 'lib/rvs/to_rvs.rb', line 67 def to_rvs ary = [] each_pair do |key, value| ary.push("#{key.to_rvs}=>#{value.to_rvs}") end "{#{ary.join(',')}}" end |