Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/rvs/to_rvs.rb
Instance Method Summary collapse
Instance Method Details
#to_rvs ⇒ Object
60 61 62 63 64 65 66 |
# File 'lib/rvs/to_rvs.rb', line 60 def to_rvs ary = [] each_pair do |key, value| ary.push("#{key.to_rvs}=>#{value.to_rvs}") end "{#{ary.join(',')}}" end |