class SuperDiff::ObjectInspection::Nodes::Nesting

Public Class Methods

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

Public Instance Methods

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