Sha256: 6e3bf8173692963d3a3d4edafb6cf7c650374ceaee208626dd8ed9fdd275dbf4
Contents?: true
Size: 358 Bytes
Versions: 5
Compression:
Stored size: 358 Bytes
Contents
covers 'facets/array/extract_options' test_case Array do method :extract_options! do test do h = { :x=>1, :y=>1 } a = [:a, :b, h] a.extract_options!.assert == h end end end test_case Hash do method :extractable_options? do test do h = { :x=>1, :y=>1 } h.assert.extractable_options? end end end
Version data entries
5 entries across 5 versions & 2 rubygems