Module: Autobuild::RakeTaskExtension
- Included in:
- Rake::Task
- Defined in:
- lib/autobuild/rake_task_extension.rb
Instance Attribute Summary collapse
-
#already_invoked ⇒ Object
writeonly
Sets the attribute already_invoked.
Instance Method Summary collapse
- #already_invoked? ⇒ Boolean
- #disable ⇒ Object
- #disabled! ⇒ Object
- #disabled? ⇒ Boolean
- #initialize ⇒ Object
Instance Attribute Details
#already_invoked=(value) ⇒ Object (writeonly)
Sets the attribute already_invoked
12 13 14 |
# File 'lib/autobuild/rake_task_extension.rb', line 12 def already_invoked=(value) @already_invoked = value end |
Instance Method Details
#already_invoked? ⇒ Boolean
8 9 10 |
# File 'lib/autobuild/rake_task_extension.rb', line 8 def already_invoked? @already_invoked end |
#disable ⇒ Object
22 23 24 |
# File 'lib/autobuild/rake_task_extension.rb', line 22 def disable @disabled = true end |
#disabled! ⇒ Object
18 19 20 |
# File 'lib/autobuild/rake_task_extension.rb', line 18 def disabled! disable end |
#disabled? ⇒ Boolean
14 15 16 |
# File 'lib/autobuild/rake_task_extension.rb', line 14 def disabled? @disabled end |
#initialize ⇒ Object
3 4 5 6 |
# File 'lib/autobuild/rake_task_extension.rb', line 3 def initialize(*, **) super @disabled = false end |