Module: RakeCommander::Patcher
- Extended by:
- Helpers
- Includes:
- Base
- Included in:
- RakeCommander
- Defined in:
- lib/rake-commander/patcher.rb,
lib/rake-commander/patcher/base.rb,
lib/rake-commander/patcher/debug.rb,
lib/rake-commander/patcher/helpers.rb,
lib/rake-commander/patcher/application.rb,
lib/rake-commander/patcher/application/top_level_resume.rb
Defined Under Namespace
Modules: Application, Base, Debug, Helpers
Class Method Summary
collapse
Methods included from Helpers
change_method_argument, method_argument_idx
Class Method Details
.debug=(value) ⇒ Object
16
17
18
|
# File 'lib/rake-commander/patcher.rb', line 16
def debug=(value)
@debug = !!value
end
|
.debug? ⇒ Boolean
20
21
22
23
|
# File 'lib/rake-commander/patcher.rb', line 20
def debug?
@debug = false unless instance_variable_defined?(:@debug)
@debug
end
|
.patch_include(base) ⇒ Object
12
13
14
|
# File 'lib/rake-commander/patcher.rb', line 12
def patch_include(base)
base.send :include, Application
end
|