Class: Rubu::StepMark

Inherits:
Step show all
Defined in:
lib/rubu.rb

Overview

Mark (checksum) based Step.

Instance Attribute Summary

Attributes inherited from Step

#sources, #targets

Attributes inherited from Move

#errmsg, #output, #status, #subs

Instance Method Summary (collapse)

Methods inherited from Step

#date_update?, #fork, #initialize, #mark_update?, #rbrun, #rbuse, #run, #setup, #shrun, #shuse, #source, #step, #target, use, usezip, #walk, zip

Methods included from MoveStyles

#parallel_run, #serial_run

Methods inherited from Move

#display, #error, #host, #host_in, #host_out, #initialize, #use, #warn

Constructor Details

This class inherits a constructor from Rubu::Step

Instance Method Details

- (Boolean) update?

Update if target generated from Step source is different from old target in addition of being newer.

Returns:

  • (Boolean)


707
708
709
# File 'lib/rubu.rb', line 707

def update?
    Order[ :force ] || mark_update?
end