Libraries
»
acrylic
(0.1.1)
»
Index (H)
»
Hash
Class: Hash
Inherits:
Object
Object
Hash
show all
Defined in:
lib/bits.rb
Class Method Summary
collapse
.
from_keys
(keys) ⇒ Object
Class Method Details
.
from_keys
(keys) ⇒
Object
18 19 20
# File 'lib/bits.rb', line 18
def
self
.
from_keys
keys
keys
.
map
do
|
k
|
[
k
,
nil
]
end
.
to_h
end