Class: SuperDiff::BinaryString::OperationTreeFlatteners::BinaryString
- Inherits:
-
Core::AbstractOperationTreeFlattener
- Object
- Core::AbstractOperationTreeFlattener
- SuperDiff::BinaryString::OperationTreeFlatteners::BinaryString
- Defined in:
- lib/super_diff/binary_string/operation_tree_flatteners/binary_string.rb
Instance Method Summary collapse
Methods inherited from Core::AbstractOperationTreeFlattener
Instance Method Details
#build_tiered_lines ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/super_diff/binary_string/operation_tree_flatteners/binary_string.rb', line 7 def build_tiered_lines operation_tree.map do |operation| Core::Line.new( type: operation.name, indentation_level: indentation_level, value: operation.value ) end end |