Module: Groonga::Client::Response::Schema::HashValueConverter

Defined in:
lib/groonga/client/response/schema.rb

Overview

Since:

  • 0.2.2

Class Method Summary collapse

Class Method Details

.convert(hash) ⇒ Object

Since:

  • 0.2.2



122
123
124
125
126
127
128
# 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