Class: SuperDiff::OperationTrees::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/super_diff/operation_trees/array.rb

Class Method Summary collapse

Methods inherited from Base

#flatten, #initialize, #perhaps_elide, #pretty_print, #to_diff

Constructor Details

This class inherits a constructor from SuperDiff::OperationTrees::Base

Class Method Details

.applies_to?(value) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/super_diff/operation_trees/array.rb', line 4

def self.applies_to?(value)
  value.is_a?(::Array)
end