Sha256: 3884039e47abe0973585094af5c9c09f9f36b8adaf9b1bbcb5bd36deee220b56

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

module Autobuild
    module RakeTaskExtension
        def already_invoked?
            @already_invoked
        end

        attr_writer :already_invoked

        def disabled?
            @disabled
        end

        def disabled!
            disable
        end

        def disable
            @disabled = true
        end
    end
end
class Rake::Task # rubocop:disable Style/ClassAndModuleChildren
    include Autobuild::RakeTaskExtension
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
autobuild-1.21.0 lib/autobuild/rake_task_extension.rb
autobuild-1.20.0 lib/autobuild/rake_task_extension.rb
autobuild-1.19.0 lib/autobuild/rake_task_extension.rb