Sha256: fb05e0cc34c7e7e7412b1d23ff400308ee6abee36e95e7c6caa6ef9bcd8a41e9

Contents?: true

Size: 161 Bytes

Versions: 3

Compression:

Stored size: 161 Bytes

Contents

require "spec_helper"
require "ruby_ext/array"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_ext-0.4.11 spec/array_spec.rb
ruby_ext-0.4.10 spec/array_spec.rb
ruby_ext-0.4.9 spec/array_spec.rb