Class: Reap::RunModes
- Inherits:
-
Object
- Object
- Reap::RunModes
- Defined in:
- lib/reap/runmodes.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#dryrun ⇒ Object
Returns the value of attribute dryrun.
-
#force ⇒ Object
Returns the value of attribute force.
-
#trace ⇒ Object
Returns the value of attribute trace.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
- #debug? ⇒ Boolean
- #dryrun? ⇒ Boolean
- #force? ⇒ Boolean
-
#initialize(options, &block) ⇒ RunModes
constructor
A new instance of RunModes.
- #trace? ⇒ Boolean
- #verbose? ⇒ Boolean
Constructor Details
#initialize(options, &block) ⇒ RunModes
Returns a new instance of RunModes.
11 12 13 |
# File 'lib/reap/runmodes.rb', line 11 def initialize(, &block) populate(, &block) end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
9 10 11 |
# File 'lib/reap/runmodes.rb', line 9 def debug @debug end |
#dryrun ⇒ Object
Returns the value of attribute dryrun.
5 6 7 |
# File 'lib/reap/runmodes.rb', line 5 def dryrun @dryrun end |
#force ⇒ Object
Returns the value of attribute force.
8 9 10 |
# File 'lib/reap/runmodes.rb', line 8 def force @force end |
#trace ⇒ Object
Returns the value of attribute trace.
7 8 9 |
# File 'lib/reap/runmodes.rb', line 7 def trace @trace end |
#verbose ⇒ Object
Returns the value of attribute verbose.
6 7 8 |
# File 'lib/reap/runmodes.rb', line 6 def verbose @verbose end |
Instance Method Details
#debug? ⇒ Boolean
19 |
# File 'lib/reap/runmodes.rb', line 19 def debug? ; @debug ; end |
#dryrun? ⇒ Boolean
15 |
# File 'lib/reap/runmodes.rb', line 15 def dryrun? ; @dryrun ; end |
#force? ⇒ Boolean
18 |
# File 'lib/reap/runmodes.rb', line 18 def force? ; @force ; end |
#trace? ⇒ Boolean
17 |
# File 'lib/reap/runmodes.rb', line 17 def trace? ; @trace ; end |
#verbose? ⇒ Boolean
16 |
# File 'lib/reap/runmodes.rb', line 16 def verbose? ; @verbose ; end |