Sha256: 4994806afbee35cc4691140a85781a35f7a33093179db87f2fbca2da1d4781eb

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

require 'active_support/version'

module Delayed
  module Compatibility
    if ActiveSupport::VERSION::MAJOR >= 4
      def self.executable_prefix
        'bin'
      end
    else
      def self.executable_prefix
        'script'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
delayed_job-4.1.13 lib/delayed/compatibility.rb
delayed_job-4.1.12 lib/delayed/compatibility.rb
delayed_job-4.1.12.rc1 lib/delayed/compatibility.rb