Class: Motion::RevisionCalculator
- Inherits:
-
Object
- Object
- Motion::RevisionCalculator
- Defined in:
- lib/motion/revision_calculator.rb
Instance Attribute Summary collapse
-
#revision_paths ⇒ Object
readonly
Returns the value of attribute revision_paths.
Instance Method Summary collapse
-
#initialize(revision_paths:) ⇒ RevisionCalculator
constructor
A new instance of RevisionCalculator.
- #perform ⇒ Object
Constructor Details
#initialize(revision_paths:) ⇒ RevisionCalculator
Returns a new instance of RevisionCalculator.
10 11 12 |
# File 'lib/motion/revision_calculator.rb', line 10 def initialize(revision_paths:) @revision_paths = revision_paths end |
Instance Attribute Details
#revision_paths ⇒ Object (readonly)
Returns the value of attribute revision_paths.
8 9 10 |
# File 'lib/motion/revision_calculator.rb', line 8 def revision_paths @revision_paths end |
Instance Method Details
#perform ⇒ Object
14 15 16 |
# File 'lib/motion/revision_calculator.rb', line 14 def perform derive_file_hash end |