Class Array
In: lib/sinatra/core_ext/array.rb
Parent: Object

Methods

to_hash  

Public Instance methods

[Source]

   # File lib/sinatra/core_ext/array.rb, line 2
2:   def to_hash
3:     self.inject({}) { |h, (k, v)|  h[k] = v; h }
4:   end

[Validate]