Sha256: 560eda392b7d0a1997b5d005328c0b04f45738571cb99a82c8c1c69db8c09271

Contents?: true

Size: 182 Bytes

Versions: 17

Compression:

Stored size: 182 Bytes

Contents

module FileScanner
  module Refinements
    refine(String) do
      def matches?(re)
        return match?(re) if defined?("".match?)
        !!match(re)
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
file_scanner-3.2.5 lib/file_scanner/refinements.rb
file_scanner-3.2.4 lib/file_scanner/refinements.rb
file_scanner-3.2.3 lib/file_scanner/refinements.rb
file_scanner-3.2.2 lib/file_scanner/refinements.rb
file_scanner-3.2.1 lib/file_scanner/refinements.rb
file_scanner-3.2.0 lib/file_scanner/refinements.rb
file_scanner-3.1.0 lib/file_scanner/refinements.rb
file_scanner-3.0.1 lib/file_scanner/refinements.rb
file_scanner-2.3.0 lib/file_scanner/refinements.rb
file_scanner-2.2.1 lib/file_scanner/refinements.rb
file_scanner-2.1.1 lib/file_scanner/refinements.rb
file_scanner-2.1.0 lib/file_scanner/refinements.rb
file_scanner-2.0.4 lib/file_scanner/refinements.rb
file_scanner-2.0.3 lib/file_scanner/refinements.rb
file_scanner-2.0.2 lib/file_scanner/refinements.rb
file_scanner-2.0.1 lib/file_scanner/refinements.rb
file_scanner-1.1.0 lib/file_scanner/refinements.rb