Sha256: 4641094e9ef6cfe56d0aefc689dd7918906a0422d0cd25aaf73bbcae8b8eedff

Contents?: true

Size: 247 Bytes

Versions: 13

Compression:

Stored size: 247 Bytes

Contents

class Array
  
  def methodize_hashes!(recursive = true)
    self.each do |val|
      case val
      when Hash
        val.methodize!(recursive)
      when Array
        val.methodize_hashes!(recursive)
      end
    end
  end
  
end # class Array

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
noe-1.7.6 lib/noe/ext/array.rb
noe-1.7.5 lib/noe/ext/array.rb
noe-1.7.4 lib/noe/ext/array.rb
noe-1.7.3 lib/noe/ext/array.rb
noe-1.7.2 lib/noe/ext/array.rb
noe-1.7.1 lib/noe/ext/array.rb
noe-1.7.0 lib/noe/ext/array.rb
noe-1.6.0 lib/noe/ext/array.rb
noe-1.5.1 lib/noe/ext/array.rb
noe-1.5.0 lib/noe/ext/array.rb
noe-1.4.0 lib/noe/ext/array.rb
noe-1.3.0 lib/noe/ext/array.rb
noe-1.2.0 ./lib/noe/ext/array.rb