Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/soaspec/core_ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#include_key?(key) ⇒ Boolean

Call include key on 1st element of array

Returns:

  • (Boolean)


85
86
87
# File 'lib/soaspec/core_ext/hash.rb', line 85

def include_key?(key)
  first.include_key? key
end