Class: Reap::RunModes

Inherits:
Object
  • Object
show all
Defined in:
lib/reap/runmodes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options, &block) ⇒ RunModes

Returns a new instance of RunModes.



11
12
13
# File 'lib/reap/runmodes.rb', line 11

def initialize(options, &block)
  populate(options, &block)
end

Instance Attribute Details

#debugObject

Returns the value of attribute debug.



9
10
11
# File 'lib/reap/runmodes.rb', line 9

def debug
  @debug
end

#dryrunObject

Returns the value of attribute dryrun.



5
6
7
# File 'lib/reap/runmodes.rb', line 5

def dryrun
  @dryrun
end

#forceObject

Returns the value of attribute force.



8
9
10
# File 'lib/reap/runmodes.rb', line 8

def force
  @force
end

#traceObject

Returns the value of attribute trace.



7
8
9
# File 'lib/reap/runmodes.rb', line 7

def trace
  @trace
end

#verboseObject

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

Returns:

  • (Boolean)


19
# File 'lib/reap/runmodes.rb', line 19

def debug?   ; @debug   ; end

#dryrun?Boolean

Returns:

  • (Boolean)


15
# File 'lib/reap/runmodes.rb', line 15

def dryrun?  ; @dryrun  ; end

#force?Boolean

Returns:

  • (Boolean)


18
# File 'lib/reap/runmodes.rb', line 18

def force?   ; @force   ; end

#trace?Boolean

Returns:

  • (Boolean)


17
# File 'lib/reap/runmodes.rb', line 17

def trace?   ; @trace   ; end

#verbose?Boolean

Returns:

  • (Boolean)


16
# File 'lib/reap/runmodes.rb', line 16

def verbose? ; @verbose ; end