Sha256: 0884c940387995959feff943dcec9b6ce7cf4354ae3e4797f8e1c6ec38b203a6

Contents?: true

Size: 172 Bytes

Versions: 25

Compression:

Stored size: 172 Bytes

Contents

module IronWorker

  module Utils

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

end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
iron_worker-2.3.1 lib/iron_worker/utils.rb
iron_worker-2.3.0 lib/iron_worker/utils.rb
iron_worker-2.2.0 lib/iron_worker/utils.rb
iron_worker-2.1.1 lib/iron_worker/utils.rb
iron_worker-2.1.0 lib/iron_worker/utils.rb