Sha256: 7a44265cde557540414dc5ce5c075780d9b3b802255e378ad876178804a57add

Contents?: true

Size: 371 Bytes

Versions: 30

Compression:

Stored size: 371 Bytes

Contents

# encoding: utf-8

require 'rake/common/classes'

module Rake
  module Delphi

    class CustomExec < BasicTask
    public
        def execute
        end

        def to_system_path(path, base = '')
            r = super(path, base)
            # quote path if it contains SPACE
            r = '"%s"' % r.strip if r[" "]
        end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rake-delphi-0.0.14 lib/rake/common/exectask.rb
rake-delphi-0.0.13 lib/rake/common/exectask.rb
rake-delphi-0.0.12 lib/rake/common/exectask.rb
rake-delphi-0.0.11 lib/rake/common/exectask.rb
rake-delphi-0.0.9 lib/rake/common/exectask.rb
rake-delphi-0.0.8 lib/rake/common/exectask.rb
rake-delphi-0.0.7 lib/rake/common/exectask.rb
rake-delphi-0.0.6 lib/rake/common/exectask.rb
rake-delphi-0.0.5 lib/rake/common/exectask.rb
rake-delphi-0.0.4 lib/rake/common/exectask.rb