class Hash
Public Instance Methods
to_a_recursive()
click to toggle source
# File lib/ext/hash.rb, line 2 def to_a_recursive self.to_a.map do |k, v| [k, v.try(:to_a_recursive)] end end
# File lib/ext/hash.rb, line 2 def to_a_recursive self.to_a.map do |k, v| [k, v.try(:to_a_recursive)] end end