Class: Hash
Instance Method Summary collapse
-
#keys=(keys) ⇒ Object
TODO: for doc - this is usefull to fill an hash wich have a default proc.
Instance Method Details
#keys=(keys) ⇒ Object
TODO: for doc - this is usefull to fill an hash wich have a default proc
4 5 6 |
# File 'lib/r_kit/utility/hash_extend.rb', line 4 def keys= keys Array(keys).each &method(:[]) end |