Class: Nanoc::CLI::CompileListeners::DiffGenerator::Differ Private
- Inherits:
-
Object
- Object
- Nanoc::CLI::CompileListeners::DiffGenerator::Differ
- Defined in:
- lib/nanoc/cli/compile_listeners/diff_generator.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #call ⇒ Object private
-
#initialize(path, str_a, str_b) ⇒ Differ
constructor
private
A new instance of Differ.
Constructor Details
#initialize(path, str_a, str_b) ⇒ Differ
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Differ.
6 7 8 9 10 |
# File 'lib/nanoc/cli/compile_listeners/diff_generator.rb', line 6 def initialize(path, str_a, str_b) @path = path @str_a = str_a @str_b = str_b end |
Instance Method Details
#call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/nanoc/cli/compile_listeners/diff_generator.rb', line 12 def call run end |