module Groonga::Client::Response::Schema::HashValueConverter

Public Class Methods

convert(hash) { |value| ... } click to toggle source
# File lib/groonga/client/response/schema.rb, line 122
def convert(hash)
  converted = {}
  hash.each do |key, value|
    converted[key] = yield(value)
  end
  converted
end