lib/sem4r/extensions.rb
#:nodoc:
# Return a new hash with all keys converted to strings.
:nodoc:
Return a new hash with all keys converted to strings.
: nodoc : Return a new hash with all keys converted to strings .
def stringify_keys
        inject({}) do |options, (key, value)|
          options[key.to_s] = value
          options
        end
      end
def stringify_keys inject ( { } ) do | options , ( key , value ) | options [ key . to_s ] = value options end end
:nodoc:
Return a new hash with all keys converted to strings.
: nodoc : Return a new hash with all keys converted to strings .