Sha256: fde2f4572933408f6757c45c36c072b01f768d5d8f6cc60d9be42a7b77d934fe
Contents?: true
Size: 92 Bytes
Versions: 5
Compression:
Stored size: 92 Bytes
Contents
Array.class_eval do def fetch(key, default) key if self.include?(key&.to_s) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
sql_enum-0.1.10 | lib/array.rb |
sql_enum-0.1.9 | lib/array.rb |
sql_enum-0.1.8 | lib/array.rb |
sql_enum-0.1.7 | lib/array.rb |
sql_enum-0.1.6 | lib/array.rb |