Sha256: c9f1e9768527221a785f6286986e109f78ccfe77c380e8d38ca502c0d7f57d4d

Contents?: true

Size: 174 Bytes

Versions: 40

Compression:

Stored size: 174 Bytes

Contents

module SimpleWorker

  module Utils

      def self.ends_with?(s, suffix)
        suffix = suffix.to_s
        s[-suffix.length, suffix.length] == suffix
      end
  end

end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
simple_worker-3.0.0 lib/simple_worker/utils.rb
simple_worker-2.0.10 lib/simple_worker/utils.rb
simple_worker-2.0.9 lib/simple_worker/utils.rb
simple_worker-2.0.8 lib/simple_worker/utils.rb
simple_worker-2.0.6 lib/simple_worker/utils.rb
simple_worker-2.0.5 lib/simple_worker/utils.rb
simple_worker-2.0.4 lib/simple_worker/utils.rb
simple_worker-2.0.3 lib/simple_worker/utils.rb
simple_worker-2.0.2 lib/simple_worker/utils.rb
simple_worker-2.0.1 lib/simple_worker/utils.rb
simple_worker-2.0.0.beta.17 lib/simple_worker/utils.rb
simple_worker-1.0.14 lib/simple_worker/utils.rb
simple_worker-2.0.0.beta.16 lib/simple_worker/utils.rb
simple_worker-2.0.0.beta.15 lib/simple_worker/utils.rb
simple_worker-1.0.13 lib/simple_worker/utils.rb
simple_worker-2.0.0.beta.11 lib/simple_worker/utils.rb
simple_worker-2.0.0.beta.10 lib/simple_worker/utils.rb
simple_worker-2.0.0.beta.9 lib/simple_worker/utils.rb
simple_worker-2.0.0.beta.8 lib/simple_worker/utils.rb
simple_worker-1.0.12 lib/simple_worker/utils.rb