Sha256: fc72355718820ddf0f15dc5dd82869b80210ab122efa190f2ea75ec6573f3d5e
Contents?: true
Size: 255 Bytes
Versions: 16
Compression:
Stored size: 255 Bytes
Contents
class Array # :nodoc: def extract_options! # :nodoc: last.is_a?(::Hash) ? pop : {} end unless method_defined?(:extract_options!) def to_hash # :nodoc: inject({}) { |hsh, (k,v)| hsh[k] = v ; hsh } end unless method_defined?(:to_hash) end
Version data entries
16 entries across 16 versions & 4 rubygems