class SuperDiff::ObjectInspection::Nodes::WhenRenderingToLines

Public Class Methods

method_name() click to toggle source
# File lib/super_diff/object_inspection/nodes/when_rendering_to_lines.rb, line 9
def self.method_name
  :when_rendering_to_lines
end
node_name() click to toggle source
# File lib/super_diff/object_inspection/nodes/when_rendering_to_lines.rb, line 5
def self.node_name
  :when_rendering_to_lines
end

Public Instance Methods

render_to_lines(object, type:, indentation_level:) click to toggle source
# File lib/super_diff/object_inspection/nodes/when_rendering_to_lines.rb, line 17
def render_to_lines(object, type:, indentation_level:)
  render_to_lines_in_subtree(
    object,
    type: type,
    indentation_level: indentation_level,
  )
end
render_to_string(*) click to toggle source
# File lib/super_diff/object_inspection/nodes/when_rendering_to_lines.rb, line 13
def render_to_string(*)
  ""
end