Class: Array
- Includes:
- ArrayKeys::ArrayExtensions
- Defined in:
- lib/sequel/array_keys.rb
Overview
Array extensions.
Instance Attribute Summary
Attributes included from ArrayKeys::ArrayExtensions
Class Method Summary collapse
-
.from_hash(h) ⇒ Object
Converts a hash into an array with keys.
Class Method Details
.from_hash(h) ⇒ Object
Converts a hash into an array with keys.
251 252 253 254 |
# File 'lib/sequel/array_keys.rb', line 251 def self.from_hash(h) a = []; a.keys = [] a.merge!(h) end |