Sha256: b716fe2e9abfd708ce13eb1141c9251bcd6587c7ba289f2d50949e76227c07ed

Contents?: true

Size: 573 Bytes

Versions: 14

Compression:

Stored size: 573 Bytes

Contents

require_relative 'patcher/helpers'
require_relative 'patcher/debug'
require_relative 'patcher/base'
require_relative 'patcher/application'

class RakeCommander
  module Patcher
    extend RakeCommander::Patcher::Helpers
    include RakeCommander::Patcher::Base

    class << self
      def patch_include(base)
        base.send :include, Application
      end

      def debug=(value)
        @debug = !!value
      end

      def debug?
        @debug = false unless instance_variable_defined?(:@debug)
        @debug
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rake-commander-0.4.0 lib/rake-commander/patcher.rb
rake-commander-0.3.6 lib/rake-commander/patcher.rb
rake-commander-0.3.5 lib/rake-commander/patcher.rb
rake-commander-0.3.3 lib/rake-commander/patcher.rb
rake-commander-0.2.12 lib/rake-commander/patcher.rb
rake-commander-0.2.11 lib/rake-commander/patcher.rb
rake-commander-0.2.10 lib/rake-commander/patcher.rb
rake-commander-0.2.7 lib/rake-commander/patcher.rb
rake-commander-0.2.6 lib/rake-commander/patcher.rb
rake-commander-0.2.5 lib/rake-commander/patcher.rb
rake-commander-0.2.4 lib/rake-commander/patcher.rb
rake-commander-0.2.3 lib/rake-commander/patcher.rb
rake-commander-0.2.2 lib/rake-commander/patcher.rb
rake-commander-0.2.0 lib/rake-commander/patcher.rb