Project

General

Profile

« Previous | Next » 

Revision 02df8f6a

Added by Akinori MUSHA about 17 years ago

  • hash.c (rb_hash_default): Fix rdoc.
    (rb_hash_each, env_each_value, env_each_pair): Return an
    enumerator if no block is given.
    (rb_hash_update): Update rdoc.
    (envix): Conditionalize the definition itself.
    (rb_f_getenv, env_fetch, env_keys, env_values, env_values_at)
    (env_select, env_inspect, env_to_a, env_empty_p, env_has_key)
    (env_has_value, env_index, env_indexes, env_to_hash, env_shift)
    (env_update): Require secure level 4.
    (env_each_value, env_each_i): Delay variable initialization.
    (env_each_key, env_each_value, env_reject_bang)
    (env_clear, env_replace): Omit duplicated secure level check.
    (env_has_value): Do to_str conversion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e