repo.or.cz
/
sinatra.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
start 2
[sinatra.git]
/
lib
/
sinatra
/
core_ext
/
array.rb
blob
5ee1fc28de80645b858e88244be67a1538c02172
1
class Array
2
def to_hash
3
self.inject({}) { |h, (k, v)| h[k] = v; h }
4
end
5
end