Class: Motion::RevisionCalculator

Inherits:
Object
  • Object
show all
Defined in:
lib/motion/revision_calculator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pathsObject (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

#performObject



14
15
16
# File 'lib/motion/revision_calculator.rb', line 14

def perform
  derive_file_hash
end