Sha256: 587da1f7143a88f8931b3492a6da16dfeee29f9e68fbae8f82e947f8def4a3d3
Contents?: true
Size: 298 Bytes
Versions: 4
Compression:
Stored size: 298 Bytes
Contents
covers 'facets/array/extract_options' testcase Array do unit :extract_options! do h = { :x=>1, :y=>1 } a = [:a, :b, h] a.extract_options!.assert == h end end testcase Hash do unit :extractable_options? do h = { :x=>1, :y=>1 } h.assert.extractable_options? end end
Version data entries
4 entries across 4 versions & 1 rubygems