lib/spoom/file_tree.rb in spoom-1.1.12 vs lib/spoom/file_tree.rb in spoom-1.1.13
- old
+ new
@@ -63,20 +63,20 @@
sig do
params(
out: T.any(IO, StringIO),
show_strictness: T::Boolean,
colors: T::Boolean,
- indent_level: Integer
+ indent_level: Integer,
).void
end
def print(out: $stdout, show_strictness: true, colors: true, indent_level: 0)
printer = TreePrinter.new(
tree: self,
out: out,
show_strictness: show_strictness,
colors: colors,
- indent_level: indent_level
+ indent_level: indent_level,
)
printer.print_tree
end
private
@@ -124,10 +124,10 @@
params(
tree: FileTree,
out: T.any(IO, StringIO),
show_strictness: T::Boolean,
colors: T::Boolean,
- indent_level: Integer
+ indent_level: Integer,
).void
end
def initialize(tree:, out: $stdout, show_strictness: true, colors: true, indent_level: 0)
super(out: out, colors: colors, indent_level: indent_level)
@tree = tree