Sha256: f3fa2997cba49f19257bb40339983153230b2c04aa40725540c476fd85005c6d

Contents?: true

Size: 143 Bytes

Versions: 23

Compression:

Stored size: 143 Bytes

Contents

require "core/spec_helper"

describe 'Array' do
  it 'sfilter' do
    %w{alpha betta gamma}.sfilter('lpha', /et/).should == ['gamma']
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ruby_ext-0.5.9 spec/core/array_spec.rb
ruby_ext-0.5.8 spec/core/array_spec.rb
ruby_ext-0.5.7 spec/core/array_spec.rb
ruby_ext-0.5.6 spec/core/array_spec.rb
ruby_ext-0.5.5 spec/core/array_spec.rb
ruby_ext-0.5.4 spec/core/array_spec.rb
ruby_ext-0.5.3 spec/core/array_spec.rb
ruby_ext-0.5.2 spec/core/array_spec.rb
ruby_ext-0.5.1 spec/core/array_spec.rb
ruby_ext-0.4.25 spec/core/array_spec.rb
ruby_ext-0.4.24 spec/core/array_spec.rb
ruby_ext-0.4.23 spec/core/array_spec.rb
ruby_ext-0.4.22 spec/core/array_spec.rb
ruby_ext-0.4.21 spec/core/array_spec.rb
ruby_ext-0.4.20 spec/core/array_spec.rb
ruby_ext-0.4.19 spec/core/array_spec.rb
ruby_ext-0.4.18 spec/core/array_spec.rb
ruby_ext-0.4.17 spec/core/array_spec.rb
ruby_ext-0.4.16 spec/core/array_spec.rb
ruby_ext-0.4.15 spec/core/array_spec.rb